Files
open-roms/src/basic/math_mov/bbd0.mov_r_FAC1_VAR.s
T
2026-02-01 18:35:00 +01:00

27 lines
612 B
ArmAsm

;; #LAYOUT# STD * #TAKE
;; #LAYOUT# X16 BASIC_0 #TAKE-OFFSET 2000
;; #LAYOUT# * BASIC_0 #TAKE
;; #LAYOUT# * * #IGNORE
; This file is under the MIT license, it contains code released by Microsoft Corporation.
; See LICENSE for more information.
; Math package - move FAC1 (rounds) to memory variable
;
; This is verified to be identical to the original Microsoft implementation where it was named MOVVF.
;
; Input:
; - FORPNT ($49/$4A) - variable address
;
; See also:
; - https://www.c64-wiki.com/wiki/BASIC-ROM
;
mov_r_FAC1_VAR:
ldx FORPNT+0
ldy FORPNT+1
; FALLTROUGH to mov_r_FAC1_MEM