daily pastebin goal
50%
SHARE
TWEET

Attempt at a Z80 print routine (Doesn't work)

MichalN Dec 21st, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             LD      bc,hello
  2.             CALL    println
  3.             HALT    
  4. HELLO:      DB      "Hello World!\n\r",00h
  5. PRINTLN:    LD      a,(bc)
  6.             ADD     a,0
  7.             JP      z,endprint
  8.             OUT     1,a
  9.             INC     bc
  10.             jp println    
  11. ENDPRINT:   RET
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top