Compile-time calculation: Difference between revisions
m
→{{header|6502 Assembly}}
Line 72:
putfac = $aabc ; print out the value in the FAC
givayf = $b391 ; convert 16-bit integer in AY to floating-point value in FAC
fmult = $ba28 ; multiply FAC by float in memory▼
fadd = $b867 ; add float in memory to FAC
▲fmult = $ba28 ; multiply FAC by float in memory
movfm = $bbd4 ; copy FAC to memory
|