Description: DATA SEGMENT
X DB 66H
Y DB 35H
Z DW ?
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START: MOV AX,DATA
MOV DS,AX
XOR AX,AX
MOV AL,X
SHL AX,1
MOV BX,AX
SHL AX,1
SHL AX,1
ADD BX,AX
MOV AH,0
MOV AL,Y
SHL AX,1
SHL AX,1
ADD BX,AX
SHR BX,1
MOV Z,BX
A1: JMP A1
CODE ENDS
END START
To Search:
File list (Check if you may need any files):
stack
.....\001.cpp
.....\001.dsp
.....\001.dsw
.....\001.ncb
.....\001.opt
.....\001.plg
.....\Debug
.....\.....\001.exe
.....\.....\001.ilk
.....\.....\001.obj
.....\.....\001.pch
.....\.....\001.pdb
.....\.....\stack.pch
.....\.....\stack.pdb
.....\.....\vc60.idb
.....\.....\vc60.pdb
.....\stack.dsp
.....\stack.dsw
.....\stack.ncb
.....\stack.opt
.....\stack.plg