1,510
edits
(Removed last traces of HTML code. Wikification is complete.) |
(→How the interpreter handles the code: -- fix syntax highlighting) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 52: | Line 52: | ||
<span id="test-commands"></span> | <span id="test-commands"></span> | ||
{| border="1" | {| 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,267: | Line 2,267: | ||
discussed at a later stage. | discussed at a later stage. | ||
{| border="1" | {| border="1" cellspacing="0" cellpadding="5" | ||
|- | |- | ||
! Offset | ! Offset | ||
Line 2,305: | Line 2,305: | ||
The second set of codes is as follows: | The second set of codes is as follows: | ||
{| border="1" | {| border="1" cellspacing="0" cellpadding="5" | ||
! Code | ! Code | ||
! Command | ! Command | ||
Line 2,446: | Line 2,445: | ||
follows: | follows: | ||
{| border="1" | {| border="1" cellspacing="0" cellpadding="5" | ||
|- | |- | ||
! Offset | ! Offset | ||
Line 2,497: | Line 2,496: | ||
The format of the message section is as follows: | The format of the message section is as follows: | ||
{| border="1" | {| border="1" cellspacing="0" cellpadding="5" | ||
|- | |- | ||
! Offset | ! Offset | ||
Line 2,526: | Line 2,525: | ||
Example: MH2, equaln. | Example: MH2, equaln. | ||
<syntax type="ASM | <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,541: | Line 2,540: | ||
Example: MH2, equalv. | Example: MH2, equalv. | ||
<syntax type="ASM | <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,569: | 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 | <syntax type="ASM"> | ||
;Decoding a LOGIC file. | ;Decoding a LOGIC file. | ||
1E6C:2EF2 56 PUSH SI | 1E6C:2EF2 56 PUSH SI |