Created
October 5, 2014 16:36
-
-
Save jsutlovic/ebb9e06e06f55ca5969f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mov bx, 40 ; Assign a value to bx | |
cmp bx, 4 | |
jl then_block | |
cmp bx, 40 | |
jl else_if_block | |
mov al, 'C' | |
jmp done_block | |
then_block: | |
mov al, 'A' | |
jmp done_block | |
else_if_block: | |
mov al, 'B' | |
done_block: | |
mov ah, 0x0e | |
int 0x10 | |
jmp $ | |
; Padding and magic number | |
times 510-($-$$) db 0 | |
dw 0xaa55 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment