Skip to content

Instantly share code, notes, and snippets.

@febnug
Last active November 11, 2021 03:56
Show Gist options
  • Save febnug/3cc85648a5416321a4753ae1e3781171 to your computer and use it in GitHub Desktop.
Save febnug/3cc85648a5416321a4753ae1e3781171 to your computer and use it in GitHub Desktop.
.model tiny
.code
org 100h
mulai:
mov ax, 10
cetak_nilai:
mov bx, 10
xor cx, cx
_divisor:
xor dx, dx
div bx
push dx
inc cx
test ax, ax
jnz _divisor
_ascii:
pop dx
add dl, 30h
mov ah, 02h
int 21h
loop _ascii
mov ax, 4c00h
int 21h
end mulai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment