From 85c1a87e096578538499cefa97d1e71b37a304cc Mon Sep 17 00:00:00 2001 From: Ry Date: Fri, 13 Jan 2023 14:30:39 -0800 Subject: [PATCH] docs: Add iflt and ifgteq to the condition codes list --- docs/cpu.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/cpu.md b/docs/cpu.md index 7a02b76..dd438ed 100644 --- a/docs/cpu.md +++ b/docs/cpu.md @@ -78,15 +78,15 @@ by a source operand, or by source and target operands, depending on the opcode. ### Condition codes -| value | name | description -|-------|--------|----------------------------------------------------- -| 0 | always | execute unconditionally -| 1 | ifz | execute if zero flag is set -| 2 | ifnz | execute if zero flag is not set -| 3 | ifc | execute if carry flag is set -| 4 | ifnc | execute if carry flag is not set -| 5 | ifgt | execute if neither zero flag nor carry flag is set -| 6 | iflteq | execute if zero flag or carry flag is set +| value | name | description +|-------|-------------|----------------------------------------------------- +| 0 | always | execute unconditionally +| 1 | ifz | execute if zero flag is set +| 2 | ifnz | execute if zero flag is not set +| 3 | ifc/iflt | execute if carry flag is set +| 4 | ifnc/ifgteq | execute if carry flag is not set +| 5 | ifgt | execute if neither zero flag nor carry flag is set +| 6 | iflteq | execute if zero flag or carry flag is set ### Operation codes