mirror of
				https://github.com/simon987/Much-Assembly-Required.git
				synced 2025-11-04 10:06:54 +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 |`- - - - -` |
 | 
			
		||||
| [**INC**](#inc) *destination* | *mem/reg* | 0x2A | `- X X X -` |
 | 
			
		||||
| [**JA**](#ja) *target* | *mem/reg/imm* | 0x2E |`- - - - -` |
 | 
			
		||||
| [**JAE**](#jae) *target* | *mem/reg/imm* | 0x22 |`- - - - -` |
 | 
			
		||||
| [**JC**](#jc) *target* | *mem/reg/imm* | 0x21 |`- - - - -` |
 | 
			
		||||
| [**JG**](#jg) *target* | *mem/reg/imm* | 0x0F |`- - - - -` |
 | 
			
		||||
| [**JGE**](#jge) *target* | *mem/reg/imm* | 0x10 |`- - - - -` |
 | 
			
		||||
@ -300,14 +301,23 @@ destination = destination + 1
 | 
			
		||||
 | 
			
		||||
### JA
 | 
			
		||||
#### Details
 | 
			
		||||
| mnemonic | opcode | operands | carry | zero | sign | overflow | break |
 | 
			
		||||
| -------- | ------ | -------- | ----- | ---- | ---- | -------- | ----- |
 | 
			
		||||
| `JA target`    | `0x2E` |  `target` : `mem` / `reg` / `imm` |  `-`  |  `-` |  `-` |    `-`   |  `-`  |
 | 
			
		||||
 | 
			
		||||
#### Description
 | 
			
		||||
`JA` jumps to the `target` if the carry flag and the zero flag are **NOT** set.
 | 
			
		||||
 | 
			
		||||
#### Pseudo code
 | 
			
		||||
```py
 | 
			
		||||
 | 
			
		||||
if CARRY_FLAG == 0 and ZERO_FLAG == 0:
 | 
			
		||||
  IP = target
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### JAE
 | 
			
		||||
#### Description
 | 
			
		||||
`JAE` is an alias for the [`JNC`](#jnc) instruction
 | 
			
		||||
 | 
			
		||||
### JC
 | 
			
		||||
#### Details
 | 
			
		||||
| mnemonic | opcode | operands | carry | zero | sign | overflow | break |
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user