Lecture 01 Flashcards
What part of the computer uses the ‘Fetch-execute cycle’
The CPU (Central Processing Unit)
What is an ISA?
Instruction set architecture
ISAs are sets of instructions understood by a CPU:
- Their encoding into bits
- Their meanings
What syntax is this line of code in:
imulq $86, (%rax), %rcx
AT&T Assembler Syntax
What syntax is this line of code in:
imul rcx, qword ptr [rax], 86
Intel Syntax
In intel syntax, what type of operation does the following denote:
imul
Signed integer multiplication
In intel syntax, what type of operation does the following denote:
qword
quadword
This means that this is a 64
In the following assembler code, what does ‘rax’ refer to?
imul rcx, qword ptr [rax], 86
‘rax’ is the name of one of the computer’s registers