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