Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MOV A, 48; ASCII '0'
- MOV D, 232 ; Point to output
- .loop:
- MOV [D], A ; Write to output
- INC A; ASCII Adresse um 1 erhöhen
- INC D; Speicher Adresse des Speichers erhöhen
- CMP A, 57 ; prüfen ob der Zähler ASCII '9' erreicht hat
- JBE .loop ;
- HLT
Advertisement
Add Comment
Please, Sign In to add comment