Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cpu [2021/04/17 20:03] – [Addressing modes] simer | cpu [2022/11/12 13:57] (current) – [Registers] pulkomandy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Sources of information ====== | ====== Sources of information ====== | ||
- | + | Instruction set documentation archived from "unSP Programmer' | |
- | [[http:// | + | A good overview can also be found in {{ :: |
====== CPU ====== | ====== CPU ====== | ||
Line 8: | Line 8: | ||
The V-Smile processor is a Sunplus µ'nSP implementing version **1.1** of the ISA (source: this is how the SPG200 projects in µ'nSP IDE are configured). | The V-Smile processor is a Sunplus µ'nSP implementing version **1.1** of the ISA (source: this is how the SPG200 projects in µ'nSP IDE are configured). | ||
- | The documentation below was extracted from the datasheet of another chip that implements a later version (1.2). Instructions that are available only in that later version are annotated to avoid confusion, but kept for reference in case it is useful to someone else. | ||
- | |||
- | This document does not include information about µ'nSP 2.0 architecture which is irrelevant to us and possibly not compatible (there are more registers, which would not fit the existing instruction format). | ||
===== Registers ===== | ===== Registers ===== | ||
Line 26: | Line 23: | ||
R3 stores the lower half and R4 stores the upper half. | R3 stores the lower half and R4 stores the upper half. | ||
- | There is also a 4-bit shift buffer (SB) register used by the shift and rotate addressing modes. | + | There is also a 4-bit shift buffer (SB) register used by the shift and rotate addressing modes. There are separate SB registers for normal, FIQ and interrupt mode, which gets automatically switched. |
- | ==== Shadow Registers ==== | + | |
+ | The BP register has a special addressing mode with a 6-bit immediate offset. It is usually (for example by unsp IDE C compiler) used as a frame pointer, to access a function local variables efficiently. But it can also be used as a normal register if needed. | ||
+ | |||
+ | SP is generally used as a stack pointer but can be used for other things occasionally. When using the PUSH and POP instructions, | ||
+ | |||
+ | As a result, the typical organization of the stack in VTech code is: | ||
- | **Only in ABI 1.2** | + | ^Address^ Contents |
+ | | NNNF | Parameter 0 | Pushed by caller | ||
+ | | NNNE | Parameter | ||
+ | | NNND | PC (from CALL) | Saved by CALL | | ||
+ | | NNNC | SR (from CALL) | Saved by CALL | | ||
+ | | NNNB | R4 | Saved by PUSH in function prelude | ||
+ | | NNNA | R3 | (and more registers as needed) | ||
+ | | NNN9 | Local variable | Space allocated by decrementing SP | | ||
+ | | NNN8 | Local variable | <- BP points here | | ||
+ | | NNN7 | Empty | <- SP points here | | ||
- | Registers R1-R4 have ' | + | The SP can move when calling other functions, interrupts, ... or when saving registers inside |
+ | The parameters are usually removed by the caller (by incrementing SP). It would also be possible to use a POP including SR and PC to return from the function while clearing parameters, but this requires loading them into registers, which is not always desirable since registers are rather used for return values. | ||
==== Status Register ==== | ==== Status Register ==== | ||
Line 45: | Line 57: | ||
|10-15|DS | |10-15|DS | ||
- | |||
- | ==== Flags register ==== | ||
- | |||
- | **Only in ABI 1.2** | ||
- | |||
- | This register is not accessible as a general purpose register. It can be written to by some specific instructions. | ||
- | |||
- | ^16^15^14 ^13 ^12 ^10-7^6^5^4 | ||
- | |- |AQ|BNK|FRA|FIR|SB | ||
- | |||
- | * AQ: Flag for DIV/DIVS instructions | ||
- | * BNK: Set when the shadow registers are active ('' | ||
- | * FRA: Fraction mode | ||
- | * FIR: FIR_MOV mode | ||
- | * SB: shift buffer used by the '' | ||
- | * F: FIQ enable (set by the '' | ||
- | * I: IRQ enable (set by the '' | ||
- | * INE: IRQ nesting mode | ||
- | * IRQ PRI: current IRQ priority | ||
- | |||
- | In ABI 1.1 and older, there are separate SB registers for normal, FIQ and interrupt mode. The F, I and FIR flags exist, but are not exposed as a register. | ||
====== Address Space ====== | ====== Address Space ====== | ||
Line 89: | Line 80: | ||
|0xFFFF|IRQ7 | | |0xFFFF|IRQ7 | | ||
+ | See http:// | ||
====== Instruction Set ====== | ====== Instruction Set ====== | ||
Line 99: | Line 91: | ||
==== Load ==== | ==== Load ==== | ||
- | ^Instruction | + | ^Instruction |
- | |Rd = Value |mov rd, value |6 and 16-bit variants available | + | |%%Rd = Value %%|%%ld rd, value %%|6 and 16-bit variants available |
- | |Rd = [BP + offset] |mov rd, [BP + offset] |Offset is limited to 6 bits |NZ | | + | |%%Rd = [BP + offset] |
- | |Rd = [addr] | + | |%%Rd = [addr] |
- | |Rd = Rs |mov rd, rs | |NZ | | + | |%%Rd = Rs |
- | |Rd = {D: | + | |%%Rd = {D: |
- | |Rd = {D: | + | |%%Rd = {D: |
- | |Rd = {D: | + | |%%Rd = {D: |
- | |Rd = {D: | + | |%%Rd = {D: |
==== Store ==== | ==== Store ==== | ||
- | ^Instruction | + | ^Instruction |
- | |[BP + offset] = Rd | + | |%%[BP + offset] = Rd %%|%%st rd, [BP + offset] |
- | |[addr] = Rd |mov [addr], rd | | | | + | |%%[addr] = Rd %%|%%st rd, [addr] |
- | |{D:}[Rs] = Rd |mov {D:}[rs], rd |Optional data-segment qualifier (D:)| | | + | |%%{D:}[Rs] = Rd %%|%%st rd, {D: |
- | |{D:}[++Rs] = Rd |mov {D:}[++rs], rd | ::: | | | + | |%%{D:}[++Rs] = Rd %%|%%st rd, {D: |
- | |{D:}[Rs--] = Rd |mov {D:}[rs--], rd | ::: | | | + | |%%{D:}[Rs--] = Rd %%|%%st rd, {D: |
- | |{D:}[Rs++] = Rd |mov {D: | + | |%%{D:}[Rs++] = Rd %%|%%st rd, {D: |
==== Push/Pop ==== | ==== Push/Pop ==== | ||
- | ^Instruction | + | ^Instruction |
- | |PUSH Rx, Ry to [Rs] |push rx-ry [rs] |rx-ry signifies a range of registers to push| | | + | |%%PUSH Rx, Ry to [Rs] |
- | |PUSH Rx to [Rs] |push rx, [rs] | + | |%%PUSH Rx to [Rs] |
- | |POP Rx, Ry from [Rs] |pop rx-ry [rs] |rx-ry signifies a range of registers to pop | | | + | |%%POP Rx, Ry from [Rs] %%|%%pop rx-ry, [rs] |
- | |POP Rx from [Rs] |pop rx, [rs] |Pop a single register | + | |%%POP Rx from [Rs] %%|%%pop rx, [rs] %%|Pop a single register |
+ | |||
+ | The stack grows downwards (towards lower addresses). | ||
+ | Push does post-decrement so SP points to the unused entry at the top of the stack. | ||
+ | |||
+ | **Values before pushing: | ||
+ | |||
+ | ^Address ^Content ^ | ||
+ | |FFFF |XXXX ^ | ||
+ | |FFFE |--- ^ | ||
+ | |FFFD |--- ^ | ||
+ | |||
+ | SP = FFFE | ||
+ | |||
+ | '' | ||
+ | |||
+ | **Values after pushing: | ||
+ | |||
+ | ^Address ^Content ^ | ||
+ | |FFFF |XXXX ^ | ||
+ | |FFFE |**BP** | ||
+ | |FFFD |--- ^ | ||
+ | |||
+ | SP = FFFD | ||
===== ALU operations ===== | ===== ALU operations ===== | ||
All these operations have similar syntax and support the same addressing modes | All these operations have similar syntax and support the same addressing modes | ||
- | ^Mnemonic | + | ^Mnemonic |
- | | Rd += Rs |ADD Rd, Rs |Add | + | |%%Rd += Rs %%|%%ADD Rd, Rs %%|Add |
- | | Rd += Rs,carry |ADC Rd, Rs |Add with carry | ::: | | + | |%%Rd += Rs, |
- | | Rd -= Rs |SUB Rd, Rs |Subtract | + | |%%Rd -= Rs %%|%%SUB Rd, Rs %%|Subtract |
- | | Rd -= Rs,carry |SBC Rd, Rs |Subtract with carry | ::: | | + | |%%Rd -= Rs, |
- | | CMP Rd, Rs |CMP Rd, Rs |Compare (same effect on flags as sub) | ::: | | + | |%%CMP Rd, Rs %%|%%CMP Rd, Rs %%|Compare (same effect on flags as SUB) | ::: | |
- | | Rd = -Rs |NEG Rd, Rs |Negate | + | |%%Rd = -Rs %%|%%NEG Rd, Rs %%|Negate |
- | | Rd %%^%%= Rs |XOR Rd, Rs |Exclusive OR | ::: | | + | |%%Rd ^= Rs %%|%%XOR Rd, Rs %%|Exclusive OR | ::: | |
- | | Rd %%|%%= Rs |OR Rd, Rs | + | |%%Rd |= Rs %%|%%OR Rd, Rs %%|Bitwise OR | ::: | |
- | | Rd &= Rs |AND Rd, Rs |Bitwise AND | + | |%%Rd &= Rs %%|%%AND Rd, Rs %%|Bitwise AND |
- | | Test Rd, Rs |TEST Rd, Rs | + | |%%Test Rd, Rs |
==== Addressing modes ==== | ==== Addressing modes ==== | ||
Line 144: | Line 159: | ||
For all ALU operations, the following addressing modes are available: | For all ALU operations, the following addressing modes are available: | ||
- | ^Syntax | + | ^Syntax |
|%% R1 += R2 %%|%% ADD R1, R2 %%|Register | |%% R1 += R2 %%|%% ADD R1, R2 %%|Register | ||
- | |%% R1 += R2 ASR 1 %%|%% ADD R1, R2 ASR 1 %%|Register with shift (ASR, LSL, LSR, ROR or ROL) up to 4 bits | + | |%% R1 += R2 ASR 1 %%|%% ADD R1, R2 ASR 1 %%|Register with arithmetic right shift up to 4 bits | |
+ | |%% R1 += R2 LSL 1 %%|%% ADD R1, R2 LSL 1 %%|Register with logical left shift up to 4 bits | | ||
+ | |%% R1 += R2 LSR 1 %%|%% ADD R1, R2 LSR 1 %%|Register with logical left shift up to 4 bits | | ||
+ | |%% R1 += R2 ROL 1 %%|%% ADD R1, R2 ROL 1 %%|Register with 20-bit left rotation through SB up to 4 bits | | ||
+ | |%% R1 += R2 ROR 1 %%|%% ADD R1, R2 ROR 1 %%|Register with 20-bit right rotation through SB up to 4 bits | | ||
|%% R1 += 23 %%|%% ADD R1, #23 | |%% R1 += 23 %%|%% ADD R1, #23 | ||
|%% R1 = R2 + 1234 %%|%% ADD R1, R2, #1234 | |%% R1 = R2 + 1234 %%|%% ADD R1, R2, #1234 | ||
Line 154: | Line 173: | ||
|%% R1 += [R2] %%|%% ADD R1, [R2] %%|Indirect (register used as pointer) | |%% R1 += [R2] %%|%% ADD R1, [R2] %%|Indirect (register used as pointer) | ||
|%% R1 += [R2--] | |%% R1 += [R2--] | ||
- | |%% R1 += [R2++] | + | |%% R1 += [R2++] |
|%% R1 += [++R2] | |%% R1 += [++R2] | ||
|%% R1 += D: | |%% R1 += D: | ||
Line 166: | Line 185: | ||
The shift operations use the shift buffer (see "shift operations" | The shift operations use the shift buffer (see "shift operations" | ||
- | ===== Bit shift instructions | + | === Bit shift addressing modes === |
- | + | ||
- | **Only in ISA 1.2** | + | |
- | + | ||
- | Flags affected: NZ | + | |
- | + | ||
- | Unlike the shift embedded in the parameters of an ALU operation, this is an independant opcode. The smasm syntax makes this clear, in the xasm syntax it can be hard to distinguish the different cases. | + | |
- | + | ||
- | The main differences in behavior are: | + | |
- | * This instruction can shift by up to 16 bits, instead of just 4 | + | |
- | * The shift operand can be a constant, but also a register, for variable shifts | + | |
Given a starting register like this: | Given a starting register like this: | ||
- | ^Bits 15-0^ | + | ^ |
- | |Rs15-Rs0 | | + | ^Rs|Rs15-Rs0 | |
- | And the SR bits in the flags register: | + | And the SB bits: |
- | ^Bits 3-0^ | + | ^ |
- | |SR3-SR0 | | + | ^SB|SB3-SB0 | |
The result of the shift operations are (for a shift by 3 bits): | The result of the shift operations are (for a shift by 3 bits): | ||
- | ==== ASR ==== | + | == ASR == |
Arithmetic shift right (signed divide by two) | Arithmetic shift right (signed divide by two) | ||
- | ^Bits 15-13^Bits 12-0^ | + | ^ |
- | |Rs15 |Rs15-Rs3 | | + | ^Rs|Rs15 |Rs15-Rs3 | |
- | ^Bits 3-1^Bit 0^ | + | ^ |
- | |Rs2-Rs0 |SR3 | | + | ^SB|Rs2-Rs0 |SB3 | |
- | ==== LSL ==== | + | == LSL == |
Logical shift left (multiply by two) | Logical shift left (multiply by two) | ||
- | ^Bits 15-3^Bits 2-0^ | + | ^ |
- | |Rs12-Rs0 |000 | | + | ^Rs|Rs12-Rs0 |0 | |
- | ^Bit 3^Bit 2-0^ | + | ^ |
- | |SR0 | + | ^SB|SB0 |
- | ==== LSR ==== | + | == LSR == |
Logical shift right (unsigned divide by two) | Logical shift right (unsigned divide by two) | ||
- | ^Bits 15-13^Bits 12-0^ | + | ^ |
- | |0 |Rs15-Rs3 | | + | ^Rs|0 |Rs15-Rs3 |
- | ^Bits 3-1^Bit 0^ | + | ^ |
- | |Rs2-Rs0 |SR3 | | + | ^SB|Rs2-Rs0 |SB3 | |
- | ==== ROL ==== | + | == ROL == |
- | Rotate left | + | Rotate left through shift buffer |
- | ^Bits 15-3^Bits 2-0^ | + | ^ |
- | |Rs12-Rs0 |SR3-SR1 | | + | ^Rs|Rs12-Rs0 |SB3-SB1 | |
- | ^Bit 3^Bit 2-0^ | + | ^ |
- | |SR0 | + | ^SB|SB0 |
- | ==== ROR ==== | + | == ROR == |
- | Rotate right | + | Rotate right through shift buffer |
- | ^Bits 15-13^Bits 12-0^ | + | ^ |
- | |SR2-SR0 |Rs15-Rs3 | | + | ^Rs|SB2-SB0 |Rs15-Rs3 | |
- | ^Bits 3-1^Bit 0^ | + | ^ |
- | |Rs2-Rs0 |SR3 | | + | ^SB|Rs2-Rs0 |SB3 | |
- | ==== ASR-OR, LSL-OR, LSR-OR ==== | ||
- | |||
- | These operations do the shift as documented above, then OR it with the original register value. | ||
- | |||
- | xasm syntax: | ||
- | |||
- | '' | ||
- | |||
- | ==== 32-bit shifts ==== | ||
- | |||
- | The assembler has a shorthand instruction for 32bit shifts (it is assembled as two consecutive 16bit instructions): | ||
- | |||
- | '' | ||
- | |||
- | FIXME | ||
- | * The documentation says ROL and ROR can't use R4 as a source register? | ||
- | ===== Bit operations ===== | ||
- | |||
- | **Only in ISA 1.2** | ||
- | |||
- | Flag affected: Z | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | The destination operand can be a register, or an indirect register with or without D: prefix. | ||
- | The source operand can be a register or an immediate value (in the range 0-15). If it is a register only the 4 LSB are used. | ||
- | |||
- | The Z flag is set according to the value of the bit **before** the operation is executed. | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
===== Multiplication and division ===== | ===== Multiplication and division ===== | ||
Line 284: | Line 255: | ||
Multiplication result is stored in R3 and R4 (the register pair is called MR) | Multiplication result is stored in R3 and R4 (the register pair is called MR) | ||
- | ^Instruction | + | ^Instruction |
- | |MR = Rd x Rs | + | |%%MR = Rd x Rs %%|%%MUL.SS Rd, Rs %%|Signed multiplication |
- | |MR = Rd x Rs,us |MULU Rd, Rs | + | |%%MR = Rd x Rs,us %%|%%MUL.US |
- | |MR = Rd x Rs,uu |MULUU Rd, Rs | + | |%%MR = [Rd] x [Rs], |
- | |MR = [Rd] x [Rs], | + | |%%MR = [Rd] x [Rs], |
- | |MR = [Rd] x [Rs], | + | |
- | |MR = [Rd] x [Rs], | + | |
- | + | ||
- | Multiply-accumulate operations do the computation with 36-bit precision. The result is stored in MR and the shift buffer in the flags register. S flag is set if there is an overflow. | + | |
- | ==== Division ==== | + | |
- | + | ||
- | **Only in ISA 1.2** | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | These instructions implement 32-bit division. There are two divide primitives, DIVS | + | |
- | and DIVQ. A single precision divide, with a 32-bit numerator and a 16-bit | + | |
- | denominator, | + | |
- | divides are also possible. The division can be either signed or unsigned, but both the | + | |
- | numerator and denominator must be the same. Place the 32-bit numerator at R4: R3, | + | |
- | the 16-bit denominator at R2 and clear the AQ flag then executed with the divide | + | |
- | primitives, DIVS and DIVQ. Repeated execution of DIVQ implements a non-restoring | + | |
- | conditional add-subtract division algorithm. At the conclusion of divide operation the | + | |
- | quotient will be placed at R3. | + | |
+ | Multiply-accumulate operations do the computation with 32-bit precision with the result is stored in MR. The Rd and Rs pointers will automatically be incremented by N. | ||
+ | The values of the array pointed to by the Rd array will each be moved one index forward when the FIR_MOV setting is enabled, see the FIR_MOV section for details. | ||
==== FIR_MOV ==== | ==== FIR_MOV ==== | ||
Line 317: | Line 269: | ||
'' | '' | ||
- | Affects the FIR bit in the flags register. | + | Affects the FIR setting used by the MULS instructions. |
- | When enabled, | + | When enabled, |
- | ==== FRACTION ==== | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | **Only in ISA 1.2** | ||
- | |||
- | When enabled, multiply operations shift the result left by 1 bit | ||
- | |||
- | ===== Other operations ===== | ||
- | |||
- | ==== EXP ==== | ||
- | |||
- | **Only in ISA 1.2** | ||
- | |||
- | '' | ||
- | |||
- | Returns the number of sign bits in R2, that is, count the from the MSB the number of bits that all have the same value. | ||
- | ===== Data Segment Access ===== | ||
- | |||
- | **Only in ISA 1.2** | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | smasm syntax: | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | Set or Get the DS value from SR. The other 10 bits of Rd are set to 0. | ||
- | |||
- | On older architecture versions, this has to be done manually by accessing SR like a normal register (masking with AND and OR). | ||
===== Program Flow ===== | ===== Program Flow ===== | ||
Line 373: | Line 285: | ||
The target address is stored as a 6 bit displacement and a separate bit indicating forward or backward jump. So this can only jump back and forward 63 addresses. | The target address is stored as a 6 bit displacement and a separate bit indicating forward or backward jump. So this can only jump back and forward 63 addresses. | ||
- | ^Instruction^Smasm Form^Notes | + | ^Instruction |
- | |JCC,JB,JNAE| | + | |JB,JCC, |
- | |JCS,JNB,JAE| | + | |JAE,JNB,JCS label |Jump if C=1 |
- | |JSC,JGE,JNL| | + | |JGE,JNL,JSC label |Jump if S=0 |
- | |JSS,JNGE,JL| | + | |JL,JNGE,JSS label |Jump if S=1 |
- | |JNE, | + | |JNE, |
- | |JZ,JE | | + | |JE,JZ label |Jump if Z=1 |
- | |JPL | + | |JPL label |Jump if N=0 |
- | |JMI | + | |JMI label |Jump if N=1 |
- | |JBE, | + | |JBE, |
- | |JNA | | + | |JA,JNBE label |Jump if Z=0 and C=1 | | |
- | |JNBE,JA | | + | |JLE, |
- | |JLE, | + | |JG,JNLE label |Jump if Z=0 and S=0 | | |
- | |JNLE,JG | + | |JVC label |Jump if N=S |
- | |JVC | + | |JVS label |Jump if N != S | | |
- | |JVS | + | |JMP label |Jump always |
- | |JMP | + | |
xasm supports the syntax '' | xasm supports the syntax '' | ||
Line 402: | Line 313: | ||
Because SR is pushed automatically, | Because SR is pushed automatically, | ||
- | |||
- | === Indirect call === | ||
- | |||
- | **Only in ISA 1.2** | ||
- | |||
- | '' | ||
- | |||
- | The target address is formed from MR (R4 and R3). R4 contains the segment (loaded into CS) and R3 contains the offset (loaded into PC). | ||
=== GOTO === | === GOTO === | ||
- | Like a call, but does not save PC and SR on the stack. | + | Like a call, but does not save PC and SR on the stack. |
In ISA 1.0, GOTO does not set the CS: so it is not possible to jump outside the current segment. In ISA 1.1 and above this problem is fixed. | In ISA 1.0, GOTO does not set the CS: so it is not possible to jump outside the current segment. In ISA 1.1 and above this problem is fixed. | ||
Line 428: | Line 330: | ||
Jumps to the BREAK software IRQ handler. | Jumps to the BREAK software IRQ handler. | ||
- | |||
- | === NOP === | ||
- | |||
- | **Only in ISA 1.2** | ||
- | |||
- | Do nothing. | ||
===== Interrupt control ===== | ===== Interrupt control ===== | ||
Line 439: | Line 335: | ||
=== IRQ enable/ | === IRQ enable/ | ||
- | ^Instruction^Smasm Form^Notes | + | ^Instruction ^Notes |
- | |IRQ OFF | + | |IRQ OFF |
- | |IRQ ON | | + | |IRQ ON |Enable interrupts |
- | |FIQ OFF | + | |FIQ OFF |
- | |FIQ ON | | + | |FIQ ON |Enable fast interrupts |
- | |INT FIQ | + | |INT FIQ |
- | |INT FIQ,IRQ| | + | |INT FIQ,IRQ |Enable FIQ and IRQ | | |
- | |INT IRQ | + | |INT IRQ |
- | |INT OFF | + | |INT OFF |
- | + | ||
- | === SECBANK === | + | |
- | + | ||
- | **Only in ISA 1.2** | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | Switches to the alternate registers SR1-SR4 or restores the normal R1-R4. | + | |
- | + | ||
- | The status is stored in the flags register. | + | |
- | + | ||
- | === IRQNEST === | + | |
- | + | ||
- | **Only in ISA 1.2** | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | Enables IRQ nesting. IRQ will save the flags register on the stack (in addition to SR and PC) and the RETI instruction will restore it. | + | |
- | + | ||
- | The IRQ priority can be set in FR to determine which interruptions are allowed to happen. | + | |
- | + | ||
- | The status is stored in the INE bit of the flags register. | + | |
- | + | ||
- | === Direct access to FR register === | + | |
- | + | ||
- | **Only in ISA 1.2** | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | smasm syntax: | + | |
- | '' | ||
- | '' | ||