mnemonics would be described by:
- textual name (i.e. MVI, MOV, CMP)
- opcode representation for mnemonic
- number of parameters [optional ones?]
- type/size of parameters
- parameter encoding
- description (for use in UI)
In most lecture about assembly programming, there's a convention about describing mnemonic parameters using the following syntax:
- imm -> immediate value
- reg -> value from register
- mem -> value from memory location
So, these could be used to formally describe the types of mnemonic parameters
Logged In: NO
mnemonics would be described by:
- textual name (i.e. MVI, MOV, CMP)
- opcode representation for mnemonic
- number of parameters [optional ones?]
- type/size of parameters
- parameter encoding
- description (for use in UI)
In most lecture about assembly programming, there's a convention about describing mnemonic parameters using the following syntax:
- imm -> immediate value
- reg -> value from register
- mem -> value from memory location
So, these could be used to formally describe the types of mnemonic parameters