Difference between revisions of "AGI/Specifications/Resources"

Jump to navigation Jump to search
→‎How the interpreter handles the code: -- fix syntax highlighting
(Make tables look prettier)
(→‎How the interpreter handles the code: -- fix syntax highlighting)
 
(2 intermediate revisions by the same user not shown)
Line 52: Line 52:


<span id="test-commands"></span>
<span id="test-commands"></span>
{| border="1"  cellspacing="0" cellpadding="5" align="center"
{| border="1"  cellspacing="0" cellpadding="5"
|+ '''Table 6-1: Test commands'''
|+ '''Table 6-1: Test commands'''
|-  
|-  
Line 229: Line 229:
<span id="action-commands"></span>
<span id="action-commands"></span>


{|  border="1"
{|  border="1"  cellspacing="0" cellpadding="5"
|+ '''Table 6-2: Action Commands'''
|+ '''Table 6-2: Action Commands'''
|-  
|-  
Line 2,525: Line 2,525:
Example: MH2, equaln.
Example: MH2, equaln.


<syntax type="ASM (x86)">
<syntax type="ASM">
;equaln  (eg.  if (work = 3)  )
;equaln  (eg.  if (work = 3)  )
0D71 AC            LODSB                      ;get variable number
0D71 AC            LODSB                      ;get variable number
Line 2,540: Line 2,540:
Example: MH2, equalv.
Example: MH2, equalv.


<syntax type="ASM (x86)">
<syntax type="ASM">
;equalv  (eg.  if (work = maxwork)  )
;equalv  (eg.  if (work = maxwork)  )
0D82 AC            LODSB                      ;get first var number
0D82 AC            LODSB                      ;get first var number
Line 2,568: Line 2,568:
on, I'll explain the interpretation in steps after the code block.
on, I'll explain the interpretation in steps after the code block.


<syntax type="ASM (x86)">
<syntax type="ASM">
;Decoding a LOGIC file.
;Decoding a LOGIC file.
1E6C:2EF2 56            PUSH  SI
1E6C:2EF2 56            PUSH  SI

Navigation menu