adapted to Kick Assembler, some documentation update

This commit is contained in:
FeralChild64 committed 2019-09-07 12:35:21 +02:00
1 parent ae23dbae7b
commit de27124b4f
198 files changed
+4181 -3976

No files matched your search

+8 -8
View File
@@ -1,23 +1,23 @@
cmd_sys:
jsr basic_end_of_statement_check
bcc +
bcc !+
;; SYS requires an argument
jmp do_SYNTAX_ERROR
// SYS requires an argument
jmp do_SYNTAX_error
*
!:
jsr basic_parse_line_number
;; setup call
lda #$4C ;JMP
// setup call
lda #$4C // JMP opcode
sta USRPOK
lda basic_line_number+0
sta USRADD+0
lda basic_line_number+1
sta USRADD+1
;; Setup the register values
// Setup the register values
lda SPREG
pha
ldy SYREG
@@ -25,7 +25,7 @@ cmd_sys:
lda SAREG
plp
;; Call the routine.
// Call the routine.
jsr USRPOK
jmp basic_execute_statement