Changed REG_xxx to NDR_xxx in docs too.

pull/15/head
Andrei Vlad LUTAS 4 years ago
parent 144baa5140
commit 4328dc4efa

@ -118,7 +118,7 @@ int main()
} }
// Checking if the destination is the RCX register. // Checking if the destination is the RCX register.
if (ND_IS_OP_REG(&ix.Operands[0], ND_REG_GPR, 8, REG_RCX)) if (ND_IS_OP_REG(&ix.Operands[0], ND_REG_GPR, 8, NDR_RCX))
{ {
printf("The first op is RCX!\n"); printf("The first op is RCX!\n");
} }

@ -267,7 +267,7 @@ Determining if the first operand is register EAX
.. code-block:: c .. code-block:: c
:linenos: :linenos:
if (ND_IS_OP_REG(&ix.Operands[0], ND_REG_GPR, 4, REG_EAX)) if (ND_IS_OP_REG(&ix.Operands[0], ND_REG_GPR, 4, NDR_EAX))
Determining if the second operand is the stack Determining if the second operand is the stack
---------------------------------------------- ----------------------------------------------

Loading…
Cancel
Save