3 characteristics of instruction
4 element of instruction
where the next instruction locate
main memory
where the source and result operand locate
4 types of instruction
5 addressing mode
immediate addressing mode
data is specified and will be part of instruction
direct addressing mode
address of the data is specifies
- data will be in memory
register mode
specifies the name of register
register indirect mode
specifies the name of the register where address of data is available
- data will be in memory
- address will be in register pair
implied mode
instruction itself specifies data
3 uses of assembly language
4 advantages of assembly language
LLL vs HLL
Low-Level-Language
- long sequence of instruction for complex task
- machine dependent
- know the internal structure of the microprocessor
High-Level-Language
- provide complex statement for complex task
- provide high level abstraction from the hardware details
- hide internal structure in instruction
RISC
CISC