Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .macro printItOut(){
  2.     ldx #$00     // using x register as column counter
  3. print:
  4.     txa          // x to accum
  5.     adc #$30     // add 0x30
  6.     sta $0400,x  // store this bit in row 0 col 0 address
  7.     inx          // x++
  8.     cpx #$04     // is x >= 4?
  9.     bne print    // if not x >= 4, loop again
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement