Find largest of n numbers stored in t memory, Electrical Engineering

Assignment Help:

To determine the largest of n numbers stored into t memory, write a program in assembly language.

A program of the largest of n numbers stored into t memory in assembly language is:

   MOV AX, 0000

   MOV SI, 0200

   MOV CX, [SI]

   BACK : INC SI

   INC SI

   CMP AX, [SI]

   JAE  GO

   MOV AX, [SI]

   GO: LOOP BACK

   MOV [0251], AX

   INT 3.


Related Discussions:- Find largest of n numbers stored in t memory

Transformer box, a) Illustrate the Schematic diagram of the Transformer Box...

a) Illustrate the Schematic diagram of the Transformer Box used in the Practical Session b)  Calculate the output voltage on an Oscilloscope and determine its amplitude and freq

Preventive and regular maintenance, Preventive and Regular Maintenance ...

Preventive and Regular Maintenance Preventive and regular manages of components of the distributions system is necessary to reduce/eliminate breakdowns. Care should be taken t

Self inductance , If a current is passed through a coil, it creates a flux ...

If a current is passed through a coil, it creates a flux within the coil. Any attempt to change this flux will create a back emf that acts to oppose the change.   Consider again

For carry flag - conditional jumps , For carry Flag JC (  jump on  Ca...

For carry Flag JC (  jump on  Carry ) and JNC (Jump  on No carry ) Instructions : JC transfer the  execution of the  program to the  specified memory  address if  carry

Define successive approximation digital to analog converter, Define Success...

Define Successive Approximation Digital to Analog Converter? Successive approximation ADCs transform analog signals to digital data by comparing the incoming analog signal alo

Determine the voltage across the capacitor, (a) Let a unit impulse of curre...

(a) Let a unit impulse of current i(t) = δ(t) be applied to a parallel combination of R = 3 and C = 1/2 F. Determine the voltage vC(t) across the capacitor. (b) Repeat (a) for

What do you mean by mantissa, Q. What do you mean by Mantissa? The man...

Q. What do you mean by Mantissa? The mantissa , as well known as the significand , represents the precision bits of the number. It is composed of an implied leading bit and t

Connection of shunt capacitors - vantage points, Connection of Shunt Capaci...

Connection of Shunt Capacitors - Vantage Points An unloaded distribution line is capacitive in character and a fully loaded line has inherent inductive and resistive features

Data bus - bus organisation , Data bus The data  bus is the  group of 8...

Data bus The data  bus is the  group of 8 bit   used  to carry data. There  line are  bidirectional data can flow  in both  directions i e form  microprocessor to  peripherals

Explain the term half duplex transmission, Explain the term half duplex tra...

Explain the term half duplex transmission. A half duplex channel can receive and send, but not at similar time. It's as a one-lane bridge where two-way traffic should give way

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd