mirror of
https://github.com/Qortal/AT.git
synced 2025-01-30 02:42:14 +00:00
103 lines
2.5 KiB
HTML
103 lines
2.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html>
|
|
<head>
|
|
<title>CIYAM AT - Test for AT instruction code 0x34 (EXT_FUN_DAT_2)</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<meta name="copyright" content="Copyright 2015 CIYAM Developers"/>
|
|
|
|
<link rel="stylesheet" href="document.css" type="text/css"/>
|
|
</head>
|
|
|
|
<div id="content">
|
|
<div id="header">
|
|
<div id="appname"><a href="//ciyam.org/at">AT</a></div>
|
|
<h3 class="right-top">Test for AT instruction code 0x34 (EXT_FUN_DAT_2)</h3>
|
|
</div>
|
|
|
|
<div id="main">
|
|
<div id="text">
|
|
<pre>
|
|
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
|
|
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="visibility: visible;" id="footer">
|
|
<p>
|
|
<div class="footer-icon"><a target="_blank" href="//ciyam.org/"><img src="logo-gryscl-128.png" /></a></div>
|
|
© 2012-2015 CIYAM Developers
|
|
</p>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|
|
|