Beruflich Dokumente
Kultur Dokumente
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
ece425web.groups.et.byu.net
add
and
call
cbw
cli
interrupts)
1 of 20
cwd
cmp
dec
Decrement by 1
div
Unsigned divide
idiv
Signed divide
imul
Signed multiply
in
inc
Increment by 1
int
iret
Interrupt return
j??
jmp
Unconditional jump
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
lea
mov
Move data
mul
Unsigned multiply
neg
nop
No operation
not
or
Bitwise logical OR
out
pop
popf
push
pushf
ret
sal
shl)
sar
sbb
shl
shr
sti
sub
test
xor
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
3 of 20
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
Terminology Used:
memory - Refers to an 8 or 16-bit memory location determined
by an eective address.
register - AX, BX, CX, DX, SI, DI, BP, or SP as well as the 8-bit
derivatives of AX, BX, CX, and DX (other registers or ags are
not allowed).
immediate - A numeric constant or label.
REG1::REG2 - The concatenation of two registers (e.g., the
32-bit value DX::AX) A single colon is used for memory
addresses.
XF or XF=b - A ag's value after an instruction can be 0 or 1
and usually depends on the result of the instruction. A ag being
set to '?' by an instruction indicates that the ag is undened
after the operation.
4 of 20
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
Instructions:
adc
Syntax:
adc
dest, src
add
Syntax:
add
dest, src
and
Syntax:
and
dest, src
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
call
Syntax:
call
addr
cbw
Syntax:
cbw
cli
Syntax:
cli
Action: Clear IF
Flags Affected: IF=0
cmp
Syntax:
cmp
op1, op2
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
cwd
Syntax:
cwd
dec
Decrement by 1
Syntax:
dec
op
div
Unsigned divide
Syntax:
7 of 20
div
op8
div
op16
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
and
AH = AX % op8
If operand is op16, unsigned AX =
DX::AX / op16
and
DX = DX::AX % op16
idiv
Signed divide
Syntax:
idiv
op8
idiv
op16
and
AH = AX % op8
If operand is op16, signed AX = DX::AX
/ op16
and
DX = DX::AX % op16
8 of 20
11/22/2015 09:46 AM
imul
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
Signed multiply
Syntax:
imul
op8
imul
op16
in
in
AL, op8
in
AX, op8
inc
Increment by 1
Syntax:
inc
op
11/22/2015 09:46 AM
int
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
Syntax:
int
imm8
iret
Interrupt return
Syntax:
iret
j??
Syntax:
j??
rel8
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
jae
jb
jbe
je
jump if equal, ==
jne
jg
jge
>=
<=
signed >=
jl
jle
signed <=
All of the ?? suffixes can also be of
the form n?? (e.g., jna for
jump if not above). See 8086
documentation for many more ?? conditions.
11 of 20
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
jmp
Unconditional jump
Syntax:
jump
rel
jump
op16
jump
seg:off
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
lea
Syntax:
lea
reg16, memref
mov
Move data
Syntax:
mov
dest, src
mul
13 of 20
Unsigned multiply
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
Syntax:
mul
op8
mul
op16
neg
Syntax:
neg
op
nop
No operation
Syntax:
nop
Action: None
Flags Affected: None
not
Syntax:
not
op
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
Action: op = ~op
Flags Affected: None
or
Bitwise logical OR
Syntax:
or
dest, src
out
Syntax:
out
op, AL
out
op, AX
pop
Syntax:
pop
op16
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
popf
Syntax:
popf
push
Syntax:
push
op16
pushf
Syntax:
pushf
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
ret
Syntax:
ret
sal
shl)
Syntax:
sal
op, 1
sal
op, CL
sar
Syntax:
sar
op, 1
sar
op, CL
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
sbb
Syntax:
sbb
dest, src
shl
Syntax:
shl
op, 1
shl
op, CL
shr
Syntax:
shr
op, 1
shr
op, CL
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
sti
Syntax:
sti
Action: Set IF
Flags Affected: IF=1
sub
Syntax:
sub
dest, src
test
Syntax:
test
op1, op2
11/22/2015 09:46 AM
about:reader?url=http://ece425web.groups.et.byu.net/stabl...
xor
Syntax:
xor
dest, src
20 of 20
11/22/2015 09:46 AM