From 71e1dc480d2536527613996c7087c289caf09e3d Mon Sep 17 00:00:00 2001 From: Kevin Ramharak Date: Sat, 1 Jun 2019 17:40:33 +0200 Subject: [PATCH] Update table with setcc --- Instruction-Set.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/Instruction-Set.md b/Instruction-Set.md index fe604a2..ef0ba92 100644 --- a/Instruction-Set.md +++ b/Instruction-Set.md @@ -9,18 +9,18 @@ Current opcodes in use 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, -41, 42, 43, 44, 45, 46, 47 +41, 42, 43, 44, 45, 46, 47, 50 63 ``` Current opcodes reserved ``` +; see https://github.com/simon987/Much-Assembly-Required/pull/59 48 => INT 49 => IRET ``` Current opcodes unsused ``` 8, -50 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62 ``` @@ -70,6 +70,33 @@ Current opcodes unsused | [**ROR**](#ror) *destination*, *count* | *mem/reg*, *mem/reg/imm* | 0x20 |`X - - X -` | | [**SAL**](#sal) *destination*, *count* | *mem/reg*, *mem/reg/imm* | 0x06 |`X - - X -` | | [**SAR**](#sar) *destination*, *count* | *mem/reg*, *mem/reg/imm* | 0x29 |`X - - X -` | +| [**SETcc**](#setcc) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETA**](#seta) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETAE**](#setae) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETB**](#setb) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETBE**](#setbe) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETC**](#setc) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETE**](#sete) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETG**](#setg) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETGE**](#setge) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETL**](#setl) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETLE**](#setle) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETS**](#sets) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETO**](#seto) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETZ**](#setz) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNA**](#setna) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNAE**](#setnae) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNB**](#setnb) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNBE**](#setnbe) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNC**](#setnc) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNE**](#setne) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNG**](#setng) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNGE**](#setnge) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNL**](#setnl) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNLE**](#setnle) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNO**](#setnlo) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNS**](#setnls) *destination* | *mem/reg* | 0x50 |`- - - - -` | +| [**SETNZ**](#setnz) *destination* | *mem/reg* | 0x50 |`- - - - -` | | [**SHL**](#shl) *destination*, *count* | *mem/reg*, *mem/reg/imm* | 0x06 |`X - - X -` | | [**SHR**](#shr) *destination*, *count* | *mem/reg*, *mem/reg/imm* | 0x07 |`X - - X -` | | [**SUB**](#sub) *destination*, *source* | *mem/reg*, *mem/reg/imm* | 0x03 |`X X X X -` |