Some changes
This commit is contained in:
@@ -65,7 +65,7 @@ int getOpcode(char *mnemonic);
|
||||
// based on the type of the operand (register vs. immediate vs. memory).
|
||||
// The following helper functions decide that, given two operands (as strings).
|
||||
//
|
||||
// For example, "MOV Rn, 42" should choose MOV_RN_IMM, while "MOV Rn, Rm" should choose MOV_RN_RM.
|
||||
// For example, "MOV Rn, 42" should choose MOV_IMM_RN, while "MOV Rn, Rm" should choose MOV_RN_RM.
|
||||
// We assume that memory addresses are written in square brackets, e.g. "[123]".
|
||||
//
|
||||
int resolveMOV(const char *dest, const char *src);
|
||||
|
Reference in New Issue
Block a user