Fixed many comments
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
;
|
||||
; 2. Reentrancy. The condes routines must use self modyfiying code, which
|
||||
; means it is not reentrant. An IRQ using condes, that interrupts
|
||||
; another use of condes will cause unpredicatble behaviour. The current
|
||||
; another use of condes will cause unpredictable behaviour. The current
|
||||
; code avoids this by using locking mechanisms, but it's complex and
|
||||
; has a size and performance penalty.
|
||||
;
|
||||
|
||||
@@ -39,7 +39,7 @@ poplsargs:
|
||||
adc #$00
|
||||
sta sreg+1
|
||||
|
||||
L1: lda ptr4+1 ; Is the right operand nagative?
|
||||
L1: lda ptr4+1 ; Is the right operand negative?
|
||||
sta tmp2 ; Remember the sign for later
|
||||
bpl L2 ; Jump if not
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ tosudiv0ax:
|
||||
.endif
|
||||
|
||||
tosudiveax:
|
||||
jsr getlop ; Get the paramameters
|
||||
jsr getlop ; Get the parameters
|
||||
jsr udiv32 ; Do the division
|
||||
lda ptr1 ; Result is in ptr1:sreg
|
||||
ldx ptr1+1
|
||||
|
||||
@@ -22,7 +22,7 @@ tosumod0ax:
|
||||
.endif
|
||||
|
||||
tosumodeax:
|
||||
jsr getlop ; Get the paramameters
|
||||
jsr getlop ; Get the parameters
|
||||
jsr udiv32 ; Do the division
|
||||
lda tmp3 ; Remainder is in ptr2:tmp3:tmp4
|
||||
sta sreg
|
||||
|
||||
Reference in New Issue
Block a user