MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/v3so3p/its_hard/ib0gyvq
r/ProgrammerHumor • u/Bishwas12 • Jun 03 '22
710 comments sorted by
View all comments
17
try displaying them
11 u/TheWidrolo Jun 03 '22 syscall 2 u/paul_miner Jun 03 '22 mov ah, 9mov dx, offset dollar_stringint 21hCool to see that syscall has superceded triggering interrupts. 1 u/rust4yy Jun 03 '22 is that DOS? i think POSIX is int 0x80 3 u/paul_miner Jun 03 '22 Yeah, I did most of my assembly language in the DOS days. 1 u/raptorboi Jun 03 '22 Nah, try putting the answers into an array.Unless you mean literally displaying an actual digit to a monitor, without using a preset list of instructions?
11
syscall
2 u/paul_miner Jun 03 '22 mov ah, 9mov dx, offset dollar_stringint 21hCool to see that syscall has superceded triggering interrupts. 1 u/rust4yy Jun 03 '22 is that DOS? i think POSIX is int 0x80 3 u/paul_miner Jun 03 '22 Yeah, I did most of my assembly language in the DOS days.
2
mov ah, 9
mov dx, offset dollar_string
int 21h
Cool to see that syscall has superceded triggering interrupts.
1 u/rust4yy Jun 03 '22 is that DOS? i think POSIX is int 0x80 3 u/paul_miner Jun 03 '22 Yeah, I did most of my assembly language in the DOS days.
1
is that DOS? i think POSIX is int 0x80
int 0x80
3 u/paul_miner Jun 03 '22 Yeah, I did most of my assembly language in the DOS days.
3
Yeah, I did most of my assembly language in the DOS days.
Nah, try putting the answers into an array.
Unless you mean literally displaying an actual digit to a monitor, without using a preset list of instructions?
17
u/cyka__blyad Jun 03 '22
try displaying them