An Assembly level language program to find smallest and largest number in Microprocessor 8086.
A program to find smallest and largest number.
Software used:Emu8086
Code:
DATA SEGMENT
A DW 8,2,5,6,1,3
DATA ENDS
CODE SEGMENT
ASSUME DS:DATA,CS:CODE
START:
MOV AX,DATA
MOV DS,AX
MOV CX,0000
MOV CL,06
LEA BX,A
MOV DX,WORD PTR[BX]
MOV AX,0000
L1:CMP AX,WORD PTR[BX]
JNC L2
MOV AX,WORD PTR[BX]
L2:CMP DX,WORD PTR[BX]
JC L3
MOV DX,WORD PTR[BX]
L3:ADD BX,02
DEC CL
CMP CL,00
JNZ L1
MOV AH,4CH
INT 21H
CODE ENDS
END START
Smallest Flowchart:
Largest Flowchart:
Output:
Posted with STEMGeeks
stemgeeks
science
technology
engineering
microprocessor
assemblylanguage
programming
computerscience
coding
stem
0
0
0.000
Pure plagiarism. Taken from the following document.
https://gnindia.dronacharya.info/CSE/Downloads/Labmanuals/LAB_MANNUAL_MP_CSE_17012013.pdf
Congratulations. Reported to @hivewatchers.
Missed the reference .I have written so many posts on stemgeeks and i would not copy paste one flowchart to ruin my reputation in the portal.The code is mine i just took flowchart but missed the reference.And let me who to talk to @hivewatchers
One reference? The whole thing was lifted straight from that document. You didn't 'forget' anything.
I only had flowchart images from the pdf but the code is mine .
Congratulations @jazzbel1! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :
Your next target is to reach 500 upvotes.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Check out the last post from @hivebuzz:
Support the HiveBuzz project. Vote for our proposal!
Source of plagiarism
Source of image plagiarism
Plagiarism is the copying & pasting of others' work without giving credit to the original author or artist. Plagiarized posts are considered fraud and violate the intellectual property rights of the original creator.
Guide: Why and How People Abuse and Plagiarise
Fraud is discouraged by the community and may result in the account being Blacklisted.
If you believe this comment is in error, please contact us in #appeals in Discord.