Assembly Language

Q1: For the memory location whose physical address is specified by 1256Ah, give theaddress in segments:offset form for segments 1256h and1240h


Q2: If AX=FFFFh and BX= FFFFh the after the execution of the instruction
ADD AX, BX.what will be status of the following flags SF,PF,ZF,CF,OF,

Q:3 Suppose AX and BX contains signed numbers write some code to put the bigger
one in CX and if they are equal add them in AX

My email Address: ahsan.mit@gmail.com

Some Questions Solved:

1256A

1256:000A = (1256h*10h) + Ah = 1256Ah

1240:016A = (1240h*10h) + 16Ah = 1256Ah

mov ax,0FFFFh
mov bx,0FFFFh
add ax,bx

CF=1
PF=0
ZF=0
OF=0

Dont have time for question three,
right now...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.