summaryrefslogtreecommitdiff
path: root/roms/7seg_print_one_subroutine.asm
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-12-03 19:03:08 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-12-03 19:03:08 +0100
commitc40499b83f238de9b1a88a080261546149784586 (patch)
tree0baf7b5dee58d2929cd43000a0b0782e68e0d847 /roms/7seg_print_one_subroutine.asm
parentc7b0b280339064ab1b673ab7767d0318b2e9b72a (diff)
download6502-c40499b83f238de9b1a88a080261546149784586.tar.gz
6502-c40499b83f238de9b1a88a080261546149784586.tar.bz2
some more opcodes for delay 7-seg example
Diffstat (limited to 'roms/7seg_print_one_subroutine.asm')
-rw-r--r--roms/7seg_print_one_subroutine.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/roms/7seg_print_one_subroutine.asm b/roms/7seg_print_one_subroutine.asm
index 4a1839f..2310e02 100644
--- a/roms/7seg_print_one_subroutine.asm
+++ b/roms/7seg_print_one_subroutine.asm
@@ -17,6 +17,9 @@ reset:
lda #$a5 ; 10100101, data to show
jsr print7seg
+term:
+ jmp term
+
print7seg:
ldy #$8 ; 8 bits to shift
loop:
@@ -51,9 +54,6 @@ output:
stx PORTA
rts
-term:
- jmp term
-
nmi:
rti