Professional Documents
Culture Documents
CS 354 - Machine Organization Friday, October 28, 2016: Registers
CS 354 - Machine Organization Friday, October 28, 2016: Registers
Last Time
Registers
Today
Operands (from last time)
Data Movement Instructions (from last time)
Next Time
Read: B&O 3.5
Arithmetic and Logical Operations
15
87
%eax
accumulator
%ax
%ah
%al
%ecx
count
%cx
%ch
%cl
%edx
data
%dx
%dh
%dl
%ebx
base
%bx
%bh
%bl
%edi
destination index
%di
%esi
source index
%si
%ebp
%bp
%esp
stack pointer
%sp
What data format suffix should replace the _ given the instructions operands?
mov_ %eax, %esp
mov_ (%eax), %dx
mov_ $0xFF, %bl
mov_ (%esp, %edx, 4), %dh
push_ %0xFF
mov_ %dx, (%eax)
pop_ %edi