Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make it simple & brief as much as possible (2). Write an assembly program to find the largest number from 6 (16 bits) numbers (data

Make it simple & brief as much as possible image text in transcribed
(2). Write an assembly program to find the largest number from 6 (16 bits) numbers (data can be defined by yourself) DATAS SEGMENT ;data DATA__ 3,2,1,9,8,7 MAX? DATAS ENDS STACKS SEGMENT ;stack STACKS ENDS CODES SEGMENT ASSUME CS:CODES,DS:DATAS,SS:STACKS START: MOV AX,DATAS MOV DS,AX ;code LEA BX, MOV CX, MOV AX,[BX]; after this step, the value of register AX is NEXT: ADD BX, CMP AX,[BX] MOV AX,[BX] GREAT: MOV MAX AX DEC CX JNZ MOV AH,4CH ; after this step, the value of register AX is JG INT 21H CODES ENDS END START

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions