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

Rst restart instructions , RST Restart Instructions Restart instructio...

RST Restart Instructions Restart instructions  are one byte call instructions. Called location for each restart instruction is  predefined on page 0 ( read only memory). They

Define electric current, Define Electric current If an electric pressur...

Define Electric current If an electric pressure or voltage is applied across any material there is a tendency for electrons to move in a certain direction. This movement of fre

Symmetrical fluctuating message, A symmetrical fluctuating message, with |f...

A symmetrical fluctuating message, with |f(t)| max = 6.3 V and KCR = 3, is to be encoded by using an encoder that employs an 8-bit natural binary code to encode 256 voltage levels

Calculate the energy consumed, A typical 12-V automobile battery, storing a...

A typical 12-V automobile battery, storing about 5 megajoules (MJ) of energy, is connected to a 4-A headlight system. (a) Find the power delivered to the headlight system. (b

Explain the modes of connection for polyphase transformers, Discuss the mod...

Discuss the modes of connection for polyphase transformers Discuss with aid of electrical grouping and wiring connection diagrams the different types of connections for polypha

Bureau of energy efficiency, Bureau of Energy Efficiency Setting up o...

Bureau of Energy Efficiency Setting up of the Bureau of Energy Efficiency The Bureau of Energy Efficiency has been established with effect from 1st March, 2002 under the

Determine power reflection coefficient at the input port, Determine power r...

Determine power reflection coefficient at the input port: For the MESFET equivalent circuit shown below, find S 11 and S 22 . Note that resistances associated with the voltag

What is own-exchange routing, Q. What is Own-exchange routing? Distribu...

Q. What is Own-exchange routing? Distributed routing or own-exchange routing enables alternative routes to be chosen at intermediate nodes. Hence the strategy is capable of res

Determine the regulation of three-phase, A three-phase, six-pole, wye-conne...

A three-phase, six-pole, wye-connected synchronous generator is rated at 550 V and has a synchronous reactance Xs = 2 . When the generator supplies 50 kVA at rated voltage and a p

Basic working of optical coupler, Q. Basic working of optical coupler? ...

Q. Basic working of optical coupler? The optical coupler is suitable for frequencies in the low megahertz range. The photodiode type shown above can handle only small currents;

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