You are on page 1of 1

MVI C,01

MVI E,01
LDA 4200
LABEL:SUBB C
JZ LABEL1
INR C
INR C
INR E
JMP LABEL
LABEL1:MOV A,E
STA 4201
HLT
SAMPLE OUTPUT
ADDRESS
4200
4201

DATA
10
04

INPUT/OUTPUT
Input
Output

RESULT
A program to find the square root of a number was prepared and output obtained