Programming Problems
Home
PROGRAMS
DOWNLOAD
ABOUT
CONTACT
Sunday, 17 July 2016
Write a program in assembly language(8085) to find out the square root of a number.
MVI C, 01H
MVI E, 01H
MVI A, 09H
LOOP:
SUB C
JZ LOOP1
INR C
INR C
INR E
JMP LOOP
LOOP1: MOV A, E
STA 9000h
HLT
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Popular Posts
Write a shell script in Linux/Unix to generate Fibonacci series.
tput clear echo enter the range of the fibonacci series---- read n echo ------------------------------------------------- a=0 b...
Write a program in assembly language(8085) to check a number for odd or even parity.
LXI H, 2000H MOV A, M INX H ORA A JPE EVEN MVI M, 00H HLT EV...
No comments:
Post a Comment