Unit - Ii: Programmers Model For Intel 8086
Unit - Ii: Programmers Model For Intel 8086
• (AX, BX, CX, DX) and index register (SI, DI) is located
in the data segment
• It is an l6-bit register.
• It is a l6-bit register
• Six status or condition flags (OF, SF, ZF, AF, PF, CF)
• Sign Flag (SF) - set if the most significant bit of the result is set.
• Zero Flag (ZF) - set if the result is zero.
• Auxiliary carry Flag (AF)- set if there was a carry from or
borrow to bits 0-3 in the AL register.
• Parity Flag (PF) - set if parity (the number of "1" bits) in the
low-order byte of the result is even.
• Carry Flag (CF) - set if there was a carry from or borrow to the
most significant bit during last result calculation
Flag register
• the CPU places the value zero on the data bus, the
address(say 1250H ) on the address bus,
• Asserts the w rite line (since the CPU is writing data to
memory).
Memory Write operation:
Memory Read operation:
• Input/Output instructions.