9 / VERSION 5A 4-27-77 PT
25 XRAMOD, 0;1;73 /73 FOR ALIGNING ON 59
49 FLDA% BPAMOD,1 /ADDR OF X
51 FLDA% BPAMOD,1+ /ADDR OF Y
55 JEQ AMODER /Y=0 IS ERROR
57 JGT .+3 /GET ABS VALUE
62 FNEG /GET ABS VALUE OF X
63 LDX 0,1 /NOTE THE SIGN
64 FSTA AMODX /SAV IN A TEMPORARY
65 FDIV BPAMOD /DIVIDE BY Y
68 FSUB STHREE /CHECK SIZE
70 FLDA XSTOR /ABS VALUE X/Y
73 FMUL BPAMOD /MULITPLY IT.
75 FADD AMODX /AND ADD IN X.