mirror of
https://github.com/Qortal/AT.git
synced 2025-01-30 02:42:14 +00:00
492 lines
20 KiB
HTML
492 lines
20 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 0x09 (DIV_DAT)</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 0x09 (DIV_DAT)</h3>
|
|
</div>
|
|
|
|
<div id="main">
|
|
<div id="text">
|
|
<pre>
|
|
Test for AT instruction code 0x09 (DIV_DAT)
|
|
-------------------------------------------
|
|
|
|
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 some basic usage.
|
|
Test 2 - Check highest value works.
|
|
Test 3 - Check full address range.
|
|
Test 4 - Check overwriting works.
|
|
Test 5 - Check address range edge fail.
|
|
Test 6 - Check divided by zero fails.
|
|
Test 7 - Check negative adddress fails.
|
|
|
|
Assembly Code (Test 1):
|
|
-----------------------
|
|
|
|
00000000* SET @00000000 #000000000000000f
|
|
0000000d SET @00000001 #000000000000000e
|
|
0000001a SET @00000002 #000000000000000d
|
|
00000027 SET @00000003 #000000000000000c
|
|
00000034 SET @00000004 #000000000000000b
|
|
00000041 SET @00000005 #000000000000000a
|
|
0000004e SET @00000006 #0000000000000009
|
|
0000005b SET @00000007 #0000000000000008
|
|
00000068 SET @00000008 #0000000000000007
|
|
00000075 SET @00000009 #0000000000000006
|
|
00000082 SET @0000000a #0000000000000005
|
|
0000008f SET @0000000b #0000000000000004
|
|
0000009c SET @0000000c #0000000000000003
|
|
000000a9 SET @0000000d #0000000000000002
|
|
000000b6 SET @0000000e #0000000000000001
|
|
000000c3 DIV @00000000 $00000001
|
|
000000cc DIV @00000001 $00000002
|
|
000000d5 DIV @00000002 $00000003
|
|
000000de DIV @00000003 $00000004
|
|
000000e7 DIV @00000004 $00000005
|
|
000000f0 DIV @00000005 $00000006
|
|
000000f9 DIV @00000006 $00000007
|
|
00000102 DIV @00000007 $00000008
|
|
0000010b DIV @00000008 $00000009
|
|
00000114 DIV @00000009 $0000000a
|
|
0000011d DIV @0000000a $0000000b
|
|
00000126 DIV @0000000b $0000000c
|
|
0000012f DIV @0000000c $0000000d
|
|
00000138 DIV @0000000d $0000000e
|
|
00000141 FIN
|
|
|
|
Machine Code (Test 1):
|
|
----------------------
|
|
|
|
01000000000f0000000000000001010000000e0000000000000001020000000d0000000000000001030000000c00000000000000
|
|
01040000000b0000000000000001050000000a000000000000000106000000090000000000000001070000000800000000000000
|
|
0108000000070000000000000001090000000600000000000000010a0000000500000000000000010b0000000400000000000000
|
|
010c0000000300000000000000010d0000000200000000000000010e000000010000000000000009000000000100000009010000
|
|
00020000000902000000030000000903000000040000000904000000050000000905000000060000000906000000070000000907
|
|
0000000800000009080000000900000009090000000a000000090a0000000b000000090b0000000c000000090c0000000d000000
|
|
090d0000000e00000028
|
|
|
|
Data Dump (Test 1):
|
|
-------------------
|
|
|
|
00000000 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
00000010 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
00000020 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
00000030 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
00000040 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
00000050 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
00000060 01 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00
|
|
00000070 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
|
|
Assembly Code (Test 2):
|
|
-----------------------
|
|
|
|
00000000* SET @00000001 #ffffffffffffffff
|
|
0000000d SET @00000004 #ffffffffffffffff
|
|
0000001a SET @00000007 #0000000100000000
|
|
00000027 SET @0000000a #ffffffffffffffff
|
|
00000034 SET @0000000d #ffffffffffffffff
|
|
00000041 SET @00000010 #0000000100000000
|
|
0000004e SET @00000013 #ffffffffffffffff
|
|
0000005b SET @00000016 #ffffffffffffffff
|
|
00000068 SET @00000019 #0000000100000000
|
|
00000075 SET @0000001c #ffffffffffffffff
|
|
00000082 SET @0000001f #ffffffffffffffff
|
|
0000008f SET @00000022 #0000000100000000
|
|
0000009c SET @00000025 #ffffffffffffffff
|
|
000000a9 SET @00000028 #ffffffffffffffff
|
|
000000b6 SET @0000002b #0000000100000000
|
|
000000c3 SET @0000002e #ffffffffffffffff
|
|
000000d0 SET @00000031 #ffffffffffffffff
|
|
000000dd SET @00000034 #0000000100000000
|
|
000000ea SET @00000037 #ffffffffffffffff
|
|
000000f7 SET @0000003a #ffffffffffffffff
|
|
00000104 SET @0000003d #0000000100000000
|
|
00000111 DIV @00000001 $00000004
|
|
0000011a DIV @00000004 $00000007
|
|
00000123 DIV @00000007 $0000000a
|
|
0000012c DIV @0000000a $0000000d
|
|
00000135 DIV @0000000d $00000010
|
|
0000013e DIV @00000010 $00000013
|
|
00000147 DIV @00000013 $00000016
|
|
00000150 DIV @00000016 $00000019
|
|
00000159 DIV @00000019 $0000001c
|
|
00000162 DIV @0000001c $0000001f
|
|
0000016b DIV @0000001f $00000022
|
|
00000174 DIV @00000022 $00000025
|
|
0000017d DIV @00000025 $00000028
|
|
00000186 DIV @00000028 $0000002b
|
|
0000018f DIV @0000002b $0000002e
|
|
00000198 DIV @0000002e $00000031
|
|
000001a1 DIV @00000031 $00000034
|
|
000001aa DIV @00000034 $00000037
|
|
000001b3 DIV @00000037 $0000003a
|
|
000001bc DIV @0000003a $0000003d
|
|
000001c5 DIV @0000003d $0000003d
|
|
000001ce FIN
|
|
|
|
Machine Code (Test 2):
|
|
----------------------
|
|
|
|
0101000000ffffffffffffffff0104000000ffffffffffffffff01070000000000000001000000010a000000ffffffffffffffff
|
|
010d000000ffffffffffffffff011000000000000000010000000113000000ffffffffffffffff0116000000ffffffffffffffff
|
|
01190000000000000001000000011c000000ffffffffffffffff011f000000ffffffffffffffff01220000000000000001000000
|
|
0125000000ffffffffffffffff0128000000ffffffffffffffff012b0000000000000001000000012e000000ffffffffffffffff
|
|
0131000000ffffffffffffffff013400000000000000010000000137000000ffffffffffffffff013a000000ffffffffffffffff
|
|
013d000000000000000100000009010000000400000009040000000700000009070000000a000000090a0000000d000000090d00
|
|
00001000000009100000001300000009130000001600000009160000001900000009190000001c000000091c0000001f00000009
|
|
1f0000002200000009220000002500000009250000002800000009280000002b000000092b0000002e000000092e000000310000
|
|
0009310000003400000009340000003700000009370000003a000000093a0000003d000000093d0000003d00000028
|
|
|
|
Data Dump (Test 2):
|
|
-------------------
|
|
|
|
00000000 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff
|
|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000050 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000080 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00
|
|
00000090 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff
|
|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000e0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000110 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00
|
|
00000120 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff
|
|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000170 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001a0 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00
|
|
000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001e0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
|
|
Assembly Code (Test 3):
|
|
-----------------------
|
|
|
|
00000000* SET @00000001 #efcdab8967452301
|
|
0000000d SET @00000004 #0000000100000000
|
|
0000001a SET @00000007 #efcdab8967452301
|
|
00000027 SET @0000000a #0000000100000000
|
|
00000034 SET @0000000d #efcdab8967452301
|
|
00000041 SET @00000010 #0000000100000000
|
|
0000004e SET @00000013 #efcdab8967452301
|
|
0000005b SET @00000016 #0000000100000000
|
|
00000068 SET @00000019 #efcdab8967452301
|
|
00000075 SET @0000001c #0000000100000000
|
|
00000082 SET @0000001f #efcdab8967452301
|
|
0000008f SET @00000022 #0000000100000000
|
|
0000009c SET @00000025 #efcdab8967452301
|
|
000000a9 SET @00000028 #0000000100000000
|
|
000000b6 SET @0000002b #efcdab8967452301
|
|
000000c3 SET @0000002e #0000000100000000
|
|
000000d0 SET @00000031 #efcdab8967452301
|
|
000000dd SET @00000034 #0000000100000000
|
|
000000ea SET @00000037 #efcdab8967452301
|
|
000000f7 SET @0000003a #0000000100000000
|
|
00000104 SET @0000003d #efcdab8967452301
|
|
00000111 DIV @00000001 $00000004
|
|
0000011a DIV @00000004 $00000007
|
|
00000123 DIV @00000007 $0000000a
|
|
0000012c DIV @0000000a $0000000d
|
|
00000135 DIV @0000000d $00000010
|
|
0000013e DIV @00000010 $00000013
|
|
00000147 DIV @00000013 $00000016
|
|
00000150 DIV @00000016 $00000019
|
|
00000159 DIV @00000019 $0000001c
|
|
00000162 DIV @0000001c $0000001f
|
|
0000016b DIV @0000001f $00000022
|
|
00000174 DIV @00000022 $00000025
|
|
0000017d DIV @00000025 $00000028
|
|
00000186 DIV @00000028 $0000002b
|
|
0000018f DIV @0000002b $0000002e
|
|
00000198 DIV @0000002e $00000031
|
|
000001a1 DIV @00000031 $00000034
|
|
000001aa DIV @00000034 $00000037
|
|
000001b3 DIV @00000037 $0000003a
|
|
000001bc DIV @0000003a $0000003d
|
|
000001c5 DIV @0000003d $0000003d
|
|
000001ce FIN
|
|
|
|
Machine Code (Test 3):
|
|
----------------------
|
|
|
|
01010000000123456789abcdef0104000000000000000100000001070000000123456789abcdef010a0000000000000001000000
|
|
010d0000000123456789abcdef0110000000000000000100000001130000000123456789abcdef01160000000000000001000000
|
|
01190000000123456789abcdef011c0000000000000001000000011f0000000123456789abcdef01220000000000000001000000
|
|
01250000000123456789abcdef01280000000000000001000000012b0000000123456789abcdef012e0000000000000001000000
|
|
01310000000123456789abcdef0134000000000000000100000001370000000123456789abcdef013a0000000000000001000000
|
|
013d0000000123456789abcdef09010000000400000009040000000700000009070000000a000000090a0000000d000000090d00
|
|
00001000000009100000001300000009130000001600000009160000001900000009190000001c000000091c0000001f00000009
|
|
1f0000002200000009220000002500000009250000002800000009280000002b000000092b0000002e000000092e000000310000
|
|
0009310000003400000009340000003700000009370000003a000000093a0000003d000000093d0000003d00000028
|
|
|
|
Data Dump (Test 3):
|
|
-------------------
|
|
|
|
00000000 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000030 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000060 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000090 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000c0 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000f0 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000120 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000150 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000180 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001b0 00 00 00 00 00 00 00 00 8a ab cd ef ff ff ff ff
|
|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001e0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
|
|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
|
|
Assembly Code (Test 4):
|
|
-----------------------
|
|
|
|
00000000* SET @00000000 #9999999900000000
|
|
0000000d SET @00000001 #0000000000010000
|
|
0000001a SET @00000002 #0000000099999999
|
|
00000027 SET @00000010 #9999999900000000
|
|
00000034 SET @00000011 #0000000000001000
|
|
00000041 SET @00000012 #0000000009999999
|
|
0000004e SET @00000020 #9999999900000000
|
|
0000005b SET @00000021 #0000000000000100
|
|
00000068 SET @00000022 #0000000099999999
|
|
00000075 SET @00000030 #9999999900000000
|
|
00000082 SET @00000031 #0000000000000010
|
|
0000008f SET @00000032 #0000099999999000
|
|
0000009c DIV @00000000 $00000001
|
|
000000a5 DIV @00000000 $00000001
|
|
000000ae DIV @00000010 $00000011
|
|
000000b7 DIV @00000010 $00000011
|
|
000000c0 DIV @00000010 $00000011
|
|
000000c9 DIV @00000020 $00000021
|
|
000000d2 DIV @00000020 $00000021
|
|
000000db DIV @00000020 $00000021
|
|
000000e4 DIV @00000020 $00000021
|
|
000000ed DIV @00000030 $00000031
|
|
000000f6 DIV @00000030 $00000031
|
|
000000ff DIV @00000030 $00000031
|
|
00000108 DIV @00000030 $00000031
|
|
00000111 DIV @00000030 $00000031
|
|
0000011a FIN
|
|
|
|
Machine Code (Test 4):
|
|
----------------------
|
|
|
|
01000000000000000099999999010100000000000100000000000102000000999999990000000001100000000000000099999999
|
|
01110000000010000000000000011200000099999909000000000120000000000000009999999901210000000001000000000000
|
|
01220000009999999900000000013000000000000000999999990131000000100000000000000001320000000090999999090000
|
|
09000000000100000009000000000100000009100000001100000009100000001100000009100000001100000009200000002100
|
|
00000920000000210000000920000000210000000920000000210000000930000000310000000930000000310000000930000000
|
|
3100000009300000003100000009300000003100000028
|
|
|
|
Data Dump (Test 4):
|
|
-------------------
|
|
|
|
00000000 99 99 99 99 ff ff ff ff 00 00 01 00 00 00 00 00
|
|
00000010 99 99 99 99 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000080 9a 99 99 f9 ff ff ff ff 00 10 00 00 00 00 00 00
|
|
00000090 99 99 99 09 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000100 99 99 99 99 ff ff ff ff 00 01 00 00 00 00 00 00
|
|
00000110 99 99 99 99 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000180 00 90 99 99 99 f9 ff ff 10 00 00 00 00 00 00 00
|
|
00000190 00 90 99 99 99 09 00 00 00 00 00 00 00 00 00 00
|
|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
|
|
Assembly Code (Test 5):
|
|
-----------------------
|
|
|
|
00000000* SET @0000003e #ffffffffffffffff
|
|
0000000d SET @0000003f #ffffffffffffffff
|
|
0000001a DIV @0000003e $0000003f
|
|
00000023 DIV @0000003f $00000040
|
|
0000002c FIN
|
|
|
|
Machine Code (Test 5):
|
|
----------------------
|
|
|
|
013e000000ffffffffffffffff013f000000ffffffffffffffff093e0000003f000000093f0000004000000028
|
|
|
|
Runtime Error (Test 5):
|
|
-----------------------
|
|
|
|
error: overflow
|
|
|
|
Data Dump (Test 5):
|
|
-------------------
|
|
|
|
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
000001f0 01 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff
|
|
|
|
Assembly Code (Test 6):
|
|
-----------------------
|
|
|
|
00000000* SET @0000003e #1111111111111111
|
|
0000000d SET @0000003f #0000000000000000
|
|
0000001a DIV @0000003e $0000003f
|
|
00000023 FIN
|
|
|
|
Machine Code (Test 6):
|
|
----------------------
|
|
|
|
013e0000001111111111111111013f0000000000000000000000093e0000003f00000028
|
|
|
|
Runtime Error (Test 6):
|
|
-----------------------
|
|
|
|
error: invalid code
|
|
|
|
Assembly Code (Test 7):
|
|
-----------------------
|
|
|
|
00000000* DIV @ffffffff @ffffffff
|
|
00000009 FIN
|
|
|
|
Machine Code (Test 7):
|
|
----------------------
|
|
|
|
09ffffffffffffffff28
|
|
|
|
Runtime Error (Test 7):
|
|
-----------------------
|
|
|
|
error: overflow
|
|
|
|
</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>
|
|
|