From 54a52bb027c301f8f4ab4eee1df493ef207485c6 Mon Sep 17 00:00:00 2001 From: Pablo Parra Date: Fri, 23 Feb 2018 13:09:19 +0100 Subject: [PATCH] Typo fixed Fixed typo on the description of the instruction SUBB. --- docs/instruction-set.rst | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/instruction-set.rst b/docs/instruction-set.rst index 076b90b..3be9595 100644 --- a/docs/instruction-set.rst +++ b/docs/instruction-set.rst @@ -1125,8 +1125,8 @@ referenced by Operand 1. .. _instruction-subb: -SUBB: 16-bits substraction -^^^^^^^^^^^^^^^^^^^^^^^^^^ +SUBB: 8-bits substraction +^^^^^^^^^^^^^^^^^^^^^^^^^ Performs a substraction of two 8-bits integers. Every form of the instruction will have two operands. Operand 1 will always be a reference to an 8-bits @@ -1134,17 +1134,17 @@ register. The integer contained by the register will be substracted from the value referenced by Operand 2. The result will be stored in the register referenced by Operand 1. -+-----------+-------------------+-------------------+----------------------+ -| Opcode | Operand 1 | Operand 2 | Example | -+===========+===================+===================+======================+ -| 29 (0x1D) | *REGISTER_16BITS* | *REGISTER_16BITS* | ``SUBB BH, DL`` | -+-----------+-------------------+-------------------+----------------------+ -| 30 (0x1E) | *REGISTER_16BITS* | *REGADDRESS* | ``SUBB CH, [A-100]`` | -+-----------+-------------------+-------------------+----------------------+ -| 31 (0x1F) | *REGISTER_16BITS* | *ADDRESS* | ``SUBB DL, [0x400]`` | -+-----------+-------------------+-------------------+----------------------+ -| 32 (0x20) | *REGISTER_16BITS* | *WORD* | ``SUBB BL, 0x10`` | -+-----------+-------------------+-------------------+----------------------+ ++-----------+------------------+------------------+----------------------+ +| Opcode | Operand 1 | Operand 2 | Example | ++===========+==================+==================+======================+ +| 29 (0x1D) | *REGISTER_8BITS* | *REGISTER_8BITS* | ``SUBB BH, DL`` | ++-----------+------------------+------------------+----------------------+ +| 30 (0x1E) | *REGISTER_8BITS* | *REGADDRESS* | ``SUBB CH, [A-100]`` | ++-----------+------------------+------------------+----------------------+ +| 31 (0x1F) | *REGISTER_8BITS* | *ADDRESS* | ``SUBB DL, [0x400]`` | ++-----------+------------------+------------------+----------------------+ +| 32 (0x20) | *REGISTER_8BITS* | *WORD* | ``SUBB BL, 0x10`` | ++-----------+------------------+------------------+----------------------+ .. _instruction-svc: