mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-20 02:56:44 +00:00
add missing documentation for the JA instruction. Add the JAE (JNC alias) instruction
parent
2d6d76bbe5
commit
7693fd805e
@ -39,6 +39,7 @@ Current opcodes unsused
|
|||||||
| [**HWQ**](#hwq) *source* | *mem/reg/imm* | 0x1C |`- - - - -` |
|
| [**HWQ**](#hwq) *source* | *mem/reg/imm* | 0x1C |`- - - - -` |
|
||||||
| [**INC**](#inc) *destination* | *mem/reg* | 0x2A | `- X X X -` |
|
| [**INC**](#inc) *destination* | *mem/reg* | 0x2A | `- X X X -` |
|
||||||
| [**JA**](#ja) *target* | *mem/reg/imm* | 0x2E |`- - - - -` |
|
| [**JA**](#ja) *target* | *mem/reg/imm* | 0x2E |`- - - - -` |
|
||||||
|
| [**JAE**](#jae) *target* | *mem/reg/imm* | 0x22 |`- - - - -` |
|
||||||
| [**JC**](#jc) *target* | *mem/reg/imm* | 0x21 |`- - - - -` |
|
| [**JC**](#jc) *target* | *mem/reg/imm* | 0x21 |`- - - - -` |
|
||||||
| [**JG**](#jg) *target* | *mem/reg/imm* | 0x0F |`- - - - -` |
|
| [**JG**](#jg) *target* | *mem/reg/imm* | 0x0F |`- - - - -` |
|
||||||
| [**JGE**](#jge) *target* | *mem/reg/imm* | 0x10 |`- - - - -` |
|
| [**JGE**](#jge) *target* | *mem/reg/imm* | 0x10 |`- - - - -` |
|
||||||
@ -300,14 +301,23 @@ destination = destination + 1
|
|||||||
|
|
||||||
### JA
|
### JA
|
||||||
#### Details
|
#### Details
|
||||||
|
| mnemonic | opcode | operands | carry | zero | sign | overflow | break |
|
||||||
|
| -------- | ------ | -------- | ----- | ---- | ---- | -------- | ----- |
|
||||||
|
| `JA target` | `0x2E` | `target` : `mem` / `reg` / `imm` | `-` | `-` | `-` | `-` | `-` |
|
||||||
|
|
||||||
#### Description
|
#### Description
|
||||||
|
`JA` jumps to the `target` if the carry flag and the zero flag are **NOT** set.
|
||||||
|
|
||||||
#### Pseudo code
|
#### Pseudo code
|
||||||
```py
|
```py
|
||||||
|
if CARRY_FLAG == 0 and ZERO_FLAG == 0:
|
||||||
|
IP = target
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### JAE
|
||||||
|
#### Description
|
||||||
|
`JAE` is an alias for the [`JNC`](#jnc) instruction
|
||||||
|
|
||||||
### JC
|
### JC
|
||||||
#### Details
|
#### Details
|
||||||
| mnemonic | opcode | operands | carry | zero | sign | overflow | break |
|
| mnemonic | opcode | operands | carry | zero | sign | overflow | break |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user