adapted to Kick Assembler, some documentation update
This commit is contained in:
1 parent
ae23dbae7b
commit
de27124b4f
198 files changed
+4181
-3976
No files matched your search
@@ -3,22 +3,22 @@ basic_parse_line_number:
|
||||
|
||||
jsr injest_number
|
||||
|
||||
;; Check if the number is a valid line number
|
||||
;; i.e., 16 bits, no exponent, no decimal
|
||||
// Check if the number is a valid line number
|
||||
// i.e., 16 bits, no exponent, no decimal
|
||||
lda basic_fac1_mantissa+2
|
||||
ora basic_fac1_mantissa+3
|
||||
ora basic_fac1_exponent
|
||||
beq +
|
||||
beq !+
|
||||
ml_bad_line_number:
|
||||
;; Invalid line number
|
||||
// Invalid line number
|
||||
jmp do_ILLEGAL_QUANTITY_error
|
||||
*
|
||||
;; Line number are not allowed to have decimal points in them
|
||||
!:
|
||||
// Line number are not allowed to have decimal points in them
|
||||
lda tokenise_work4
|
||||
cmp #$ff
|
||||
cmp #$FF
|
||||
bne ml_bad_line_number
|
||||
|
||||
;; Got a valid line number.
|
||||
// Got a valid line number.
|
||||
lda basic_fac1_mantissa+0
|
||||
sta basic_line_number+0
|
||||
lda basic_fac1_mantissa+1
|
||||
|
||||
Reference in new issue
Block a user