Browse Source

Changed REG_xxx to NDR_xxx in docs too.

pull/15/head
Andrei Vlad LUTAS 2 years ago
parent
commit
4328dc4efa
  1. 2
      README.md
  2. 2
      docs/source/index.rst

2
README.md

@ -118,7 +118,7 @@ int main()
}
// 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");
}

2
docs/source/index.rst

@ -267,7 +267,7 @@ Determining if the first operand is register EAX
.. code-block:: c
: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
----------------------------------------------

Loading…
Cancel
Save