Jump to content

The Name Game: Difference between revisions

m
→‎{{header|Z80 Assembly}}: improved readability of code
m (→‎{{header|Z80 Assembly}}: improved readability of code)
Line 2,905:
ld de,name3
call PrintString_NameGame
 
ret ;return to basic
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 2,917 ⟶ 2,918:
;else, just print what you see.
call &bb5a ;amstrad CPC kernel will print the contents of A as an ascii character
 
 
continue_NameGame:
inc hl
jr PrintString_NameGame
;;;;;;;;;;;;;;;; execution will never fall through this line without a jump
 
printNameAsIs:
ex de,hl
Line 2,930:
ex de,hl
jr continue_NameGame
;;;;;;;;;;;;;;;; execution will never fall through this line without a jump
 
insertName:
push hl
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.