register setting works now
This commit is contained in:
1 parent
153e18679d
commit
7e0ea1e252
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -207,7 +207,7 @@ Jump_Table:
|
|||||||
!word Mon_DOS ; @
|
!word Mon_DOS ; @
|
||||||
!word Mon_Assemble ; . XXX to be debugged/adapted
|
!word Mon_Assemble ; . XXX to be debugged/adapted
|
||||||
!word Mon_Set_Memory ; >
|
!word Mon_Set_Memory ; >
|
||||||
!word Mon_Set_Register ; ; XXX to be bugfixed
|
!word Mon_Set_Register ; ;
|
||||||
!word Converter ; $
|
!word Converter ; $
|
||||||
!word Converter ; +
|
!word Converter ; +
|
||||||
!word Converter ; &
|
!word Converter ; &
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ Mon_Set_Register:
|
|||||||
|
|
||||||
@lpflag:
|
@lpflag:
|
||||||
|
|
||||||
lda Get_Char
|
jsr Get_Char
|
||||||
beq @exit
|
beq @exit
|
||||||
|
|
||||||
cmp #'-'
|
cmp #'-'
|
||||||
@@ -77,9 +77,9 @@ Mon_Set_Register:
|
|||||||
sta SR
|
sta SR
|
||||||
|
|
||||||
sec
|
sec
|
||||||
rol Long_TMP+0
|
ror Long_TMP+0
|
||||||
clc
|
clc
|
||||||
rol Long_TMP+1
|
ror Long_TMP+1
|
||||||
|
|
||||||
bne @lpflag
|
bne @lpflag
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user