Test for AT instruction code 0x34 (EXT_FUN_DAT_2)
-------------------------------------------------
For each test the assembly and machine code are listed as is the data dump or expected error if test case has
been created specifically to fail (with a data dump if any data was expected to have changed before the error
occurred).
A summary of the tests follows:
Test 1 - Check function 2.
Test 2 - Check function 3.
Test 2 - Check function 4.
Assembly Code (Test 1):
-----------------------
00000000* SET @00000000 #0000000000000004
0000000d SET @00000001 #0000000000000003
0000001a FUN 2 $00000000 $00000001
00000025 FIN
Machine Code (Test 1):
----------------------
0100000000040000000000000001010000000300000000000000340200000000000100000028
Runtime Result (Test 1):
-----------------------
func2: 2 with 4 and 3 rc: 000000000000000c
Assembly Code (Test 2):
-----------------------
00000000* SET @00000000 #0000000000000006
0000000d SET @00000001 #0000000000000003
0000001a FUN 3 $00000000 $00000001
00000025 FIN
Machine Code (Test 2):
----------------------
0100000000060000000000000001010000000300000000000000340300000000000100000028
Runtime Result (Test 2):
-----------------------
func2: 3 with 6 and 3 rc: 0000000000000002
Assembly Code (Test 3):
-----------------------
00000000* SET @00000000 #0000000000000006
0000000d SET @00000001 #0000000000000003
0000001a FUN 4 $00000000 $00000001
00000025 FIN
Machine Code (Test 3):
----------------------
0100000000060000000000000001010000000300000000000000340400000000000100000028
Runtime Result (Test 3):
-----------------------
func2: 4 with 6 and 3 rc: 0000000000000009