Assembly language Programming Flashcards
(11 cards)
What is assembly language?
A low level language which uses mnemonics and is processor specific
What are the two type of instructions sets of assembly language?
-RISC (Reduced Instruction Set Computer)
-CISC (Complex instruction Set Computer
What are characteristics of RISC?
-Uses simple instructions
-Simpler circuit so more room for registers and cache
-Each instruction is excecute in one cycle
-Low energy requirements
What are some characteristics of CISC?
-Complete task in as few lines of assembly language as possible
-More complicated circuitry, more expensive as physically larger
-Might take more than 1clock cycle
-Perfect for Laptops and Desktops
-Makes efficient use of RAM
What is Immediate Addressing?
The data used it hardcoded into the instruction itself e.g ADD #7
What is Direct Addressing?
The operand of an instruction refers directly to a location in memory.
What does an instruction consist of?
-Opcode
-Operand
What is an Opcode?
The operation to be carried out(what we need to do)
What is an Operand?
What we need to do it to e.g data or address
What does the command LDR do?
Load the value stored in memory location into register specified
What does the command STR do?
Stores the value in register into memory location specified