1
0
mirror of https://github.com/mgcaret/of816.git synced 2024-05-28 14:41:27 +00:00

temporarily switch to secondary FM/MOD, ref #5

This commit is contained in:
mgcaret 2020-01-04 17:38:25 -08:00
parent 71ec30ab99
commit bc7c95bb7b

View File

@ -3300,7 +3300,7 @@ eword
; H: ( d n1 -- n2 n3 ) floored divide d by n1, giving quotient n3 and remainder n2 ; H: ( d n1 -- n2 n3 ) floored divide d by n1, giving quotient n3 and remainder n2
dword FMDIVMOD,"FM/MOD" dword FMDIVMOD,"FM/MOD"
.if 1 ; primitive, using math lib FM/MOD code based on SM/REM .if 0 ; primitive, using math lib FM/MOD code based on SM/REM
jsr _3parm jsr _3parm
lda STACKBASE+0,x lda STACKBASE+0,x
ora STACKBASE+2,x ora STACKBASE+2,x