Fix comment typos

This commit is contained in:
Omar Boukli-Hacene 2018-04-27 19:31:30 +04:00
parent ef2111a2fe
commit 090f9995f2

View File

@ -39,7 +39,7 @@ enum class Instruction: uint8_t
{ {
STOP = 0x00, ///< halts execution STOP = 0x00, ///< halts execution
ADD, ///< addition operation ADD, ///< addition operation
MUL, ///< mulitplication operation MUL, ///< multiplication operation
SUB, ///< subtraction operation SUB, ///< subtraction operation
DIV, ///< integer division operation DIV, ///< integer division operation
SDIV, ///< signed integer division operation SDIV, ///< signed integer division operation
@ -50,11 +50,11 @@ enum class Instruction: uint8_t
EXP, ///< exponential operation EXP, ///< exponential operation
SIGNEXTEND, ///< extend length of signed integer SIGNEXTEND, ///< extend length of signed integer
LT = 0x10, ///< less-than comparision LT = 0x10, ///< less-than comparison
GT, ///< greater-than comparision GT, ///< greater-than comparison
SLT, ///< signed less-than comparision SLT, ///< signed less-than comparison
SGT, ///< signed greater-than comparision SGT, ///< signed greater-than comparison
EQ, ///< equality comparision EQ, ///< equality comparison
ISZERO, ///< simple not operator ISZERO, ///< simple not operator
AND, ///< bitwise AND operation AND, ///< bitwise AND operation
OR, ///< bitwise OR operation OR, ///< bitwise OR operation
@ -293,7 +293,7 @@ struct InstructionInfo
/// Information on all the instructions. /// Information on all the instructions.
InstructionInfo instructionInfo(Instruction _inst); InstructionInfo instructionInfo(Instruction _inst);
/// check whether instructions exists /// check whether instructions exists.
bool isValidInstruction(Instruction _inst); bool isValidInstruction(Instruction _inst);
/// Convert from string mnemonic to Instruction type. /// Convert from string mnemonic to Instruction type.