Add set_FAC1_mantissa
This commit is contained in:
1 parent
675f89103c
commit
2c43a67bb0
4 files changed
+10
-5
No files matched your search
@@ -4,7 +4,7 @@
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
;
|
||||
; Math package - sets mantissa to 00yyxxaa
|
||||
; Math package - set rest of FAC1 and JMP to $b8d2
|
||||
;
|
||||
; See also:
|
||||
; - https://codebase64.org/doku.php?id=base:kernal_floating_point_mathematics
|
||||
|
||||
File renamed without changes.
@@ -4,12 +4,17 @@
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
;
|
||||
; Math package - set rest of FAC1 and JMP to $b8d2
|
||||
; Math package - sets mantissa to 00yyxxaa
|
||||
;
|
||||
; See also:
|
||||
; - https://codebase64.org/doku.php?id=base:kernal_floating_point_mathematics
|
||||
;
|
||||
|
||||
; XXX add name, label, implement, test
|
||||
|
||||
+STUB_IMPLEMENTATION
|
||||
set_FAC1_mantissa:
|
||||
sty FAC1_mantissa+1
|
||||
stx FAC1_mantissa+2
|
||||
sta FAC1_mantissa+3
|
||||
lda #0
|
||||
sta FAC1_mantissa
|
||||
rts
|
||||
Reference in new issue
Block a user