SPIN FV-1 assembler programming. Project template using an all open source toolchain. For mac and linux.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
330 B

; FV-1 Testing Bank A
;
; Check behaviour of FV-1 against documentation
;
; Program 6 : ACC Init Val
;
; note: also copies ADCL into delay for use with program 7
;
; Expected output: 0.0
mem delay 1
skp RUN,output
wrax REG1,0.0 ; store ACC init value
output: ldax REG1
wrax DACL,0.0
ldax ADCL
wra delay,1.0
wrax DACR,0.0