For storing code, code segment is used why we use this, and for storing data in memory in 8085 STA instruction was use, but to save data in memory 8086??It is memory to hold your code
.ORG 2000
DATA1 .DB 4BH
DATA2 .DB 5AH
DATA3 .DB 45H
DATA4 .DB 24H
MVI B,00
LHLD 2000
XCHG
LHLD 2002
DAD
JNC 07E1H
INR B
SHLD 2004
MOV A,B
STA 2006
HLT
Zero flag mean zero answer??jnz is a conditional jump. If the "zero" flag in the status register is set (indication a zero condition result from the last operation) then no jump is performed. If the result wasn't zero a jmp will be performed.
by Aaron Carman
by Jake Hertz
by Jake Hertz