Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:instr:sar

SAR

SAR - Shift Arithmetic Right

Shifts the destination right by “count” bits with the current sign bit replicated in the leftmost bit.

The Carry Flag contains the last bit shifted out.

Usage:

	SAR	dest,count

Modifies flags:

CF OF PF SF ZF (AF undefined)

Clocks Size
Operands 808x 286 386 486 Bytes
reg,1 2 2 9 3 2
mem,1 15+EA 7 10 4 2-4 (W88=23+EA)
reg,cl 8+4n 5+n 9 8-30 2
mem,cl 20+EA+4n 8+n 10 9-31 2-4 (W88=28+EA+4n)
reg,immed8 - 5+n 9 8-30 3
mem,immed8 - 8+n 10 9-31 3-5
back2root/ibm-pc-ms-dos/instr/sar.txt · Dernière modification : 2023/03/04 11:37 de frater