Remove line number

This commit is contained in:
2020-04-04 21:54:54 +02:00
parent b6fb5e3dfd
commit 8dd85c7e2a
3 changed files with 29 additions and 29 deletions

View File

@@ -1,10 +1,10 @@
10;output a string into the top left of the screen
20 ORG 0100H ;Start at addr 0x100
30START: LD HL,DATA ;Load the start address of the string
40 LD B,0DH ;The length of the string (max 255 chars)
50 LD DE,0H ;Start in the top left corner (D=0-3 -> row; E=0-23 column)
60 CALL 84CDH ;Call the str_out function in ROM
70 RET ;Return from call
80DATA: DB 'HELLO, WORLD!'
90 END ;End marker for the assembler
;output a string into the top left of the screen
ORG 0100H ;Start at addr 0x100
START: LD HL,DATA ;Load the start address of the string
LD B,0DH ;The length of the string (max 255 chars)
LD DE,0H ;Start in the top left corner (D=0-3 -> row; E=0-23 column)
CALL 84CDH ;Call the str_out function in ROM
RET ;Return from call
DATA: DB 'HELLO, WORLD!'
END ;End marker for the assembler