Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Lel005548yTell them to write instructions on how to use a microwave, BUT whenever they use their arms/head/legs/torso they have to describe every movement in detail too. Not to mention that they also have to rewrite every movement in a full sentence.
-
jwmorse3158y@linuxer4fun no kidding. My brother has to write assembly from time to time for his job. He told me he does it when the assembly the compiler makes is not efficient enough.
-
@jwmorse ya, i have to programm a compiler based on assembler capable of guis :P so.... I can feel your brother
-
; Prints a string
mov si, string
call print_string
; Set direction flag.
cld
; This hangs the computer.
cli
hlt
print_string:
; In SI = String.
; Out = Nothing.
; Setup int 10h parameters.
mov ah, 0x0E
mov bh, 0x00
.loop:
; Load a byte from SI into AL
; and then increase SI.
lodsb
; If AL contains a null-terminating
; character, then stop printing.
cmp al, 0x00
je .done
int 10h
jmp .loop
.done:
; Return control to the caller.
ret
string: db "this", 0
Related Rants
write this in assembly.
undefined
wk36