Test10
Table of Contents
Test indirect addressing for values > 99. Expected behaviour is rather strange: The first two digits decide on the register. So 5533 will access register 55.
Expected output #
3.141592654=3.141592
654
Ok!
2.718281828=2.718281
828
Ok!
3.141592654=3.141592
654
Ok!
Source #
PROGRAM LIST
* P0
π Min0F Min10 AC 100
Min00 IND MR00
GSBP9
···12 steps
* P1
1 e^x Min03 Min0F π
Min00 IND MR00
GSBP9
···10 steps
* P2
π Min55 Min0F 5533
EXP 36 Min00 IND
MR00
GSBP9
···16 steps
* P9
“#= AR0F ” SAVE
invEXE
x=F GOTO0
“not ”
LBL0
“;Ok!” SAVE invEXE
···25 steps