MOV BX, 0122H MOV CX, 0127H Add BX, CX END
MOV BX, 0122H MOV CX, 0127H Add BX, CX END
MOV BX, 0122H MOV CX, 0127H Add BX, CX END
Reg.no:15MIS0407
Slot: L7+L8
Course:Swe1003
1. Write an ALP for adding two 16 bit numbers 0122H, 0127H stored in registers B and C
respectively.
2. Write an ALP for adding two 8 bit numbers 02H, 1BH stored in registers B and C.
MOV BX.08H
MOV CX, 02H
MOV AX, BX
SUB AX, CX
HLT
4. Write an ALP for storing the 16 bit data in memory address 1000H and 1001H. Then
perform addition of these two numbers and store the result in the memory address 1002.
INC SI
MOV [SI], AX
END
6. Write an ALP for transferring a block of ten 16 bit data from memory address starting at
1000 to a memory location 3000.