Programming Problems
Home
PROGRAMS
DOWNLOAD
ABOUT
CONTACT
Sunday, 17 July 2016
Write a program in assembly language(8085) to find the sum of first 50 even numbers.
MVI D, 00H
MVI B, 02H
MVI C, 32H
MVI A, 00H
LOOP: ADD B
JNC LOOP1
INR D
LOOP1:
INR B
INR B
DCR C
JNZ LOOP
HLT
END
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(8086) to convert an ASCII input to equivalent hex digit that it represents.
DATA SEGMENT ASCII DB 39h DATA ENDS CODE SEGMENT ASSUME CS:CODE, DS:DATA START: MOV AX, DATA MOV DS...
No comments:
Post a Comment