1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Irina-Kira [14]
3 years ago
15

Write, run, and test a MARIE assembly language program.The program should allow the user to input 8 numbers and find the smalles

t and the largest. The program should then print the smallest number and the largest number. Numbers are limited to integers, and can be positive, negative, or zero. You do NOT have to prompt input or label output.
Computers and Technology
1 answer:
STatiana [176]3 years ago
4 0

The language program is as follows:

<u>Explanation:</u>

ORG 100   / Calculation of the maximum

Load First /loading 1st array member

Store Next /address of next pointer,stores

Load Array /Loading 1st element

Store Max /maximum value with 1st element

Loop, Clear

AddI Next /Load next element!

Subt Max /Comparing with the maximum once

Skipcond 000 /If negative ->skip

Jump NewMax /If not negative ->max value

NextIdx, Load Next

Add One /pointer++

Store Next

Load Count /counter--

Subt One

Skipcond 800 /counter is positive ->same proceeding

Jump Print /else - printing the result

Store Count /counter decresed and stored

Jump Loop

NewMax, Clear / new maximum value

AddI Next

Store Max

Jump NextIdx

Print, Load Max

Output

Halt /Terminate program

First, Hex 11E /starting is location 11E(change as per...,as code changes don't forget to change it too)

Next, Hex 0 /next element index (memory location)

Max, Dec 0 /maximum value

Count, Hex 8 / loop counter decreases

One, Dec 1 /Loop stops

say array:

[Dec -5, Dec 15, Dec -17, Dec 20, Dec -23, Dec 12, Dec 130, Dec -12]

You might be interested in
PLS HELP
kvasek [131]

Answer:

informative, discrimiitive,critical thats the order

4 0
3 years ago
Digital and analog audio recordings have pros and cons. Do you think the pros of digital recordings outweigh the cons and theref
Debora [2.8K]

Digital vs Analog Audio is completely personal preference and there is no clear winner on which is better.

But there are some pros and cons about both, Analog sometimes distorts when playing and can be easily scratched and ruins the grooves. Analog is believed to be the true representation of the sound when it was recorded. Digital is not the actual recording of the sound, it's actually a combination of binary code. It is also sometimes mixed or remastered in Digital and sounds a bit different to make it sound better. It also depends on the system you are listening it from. You could have a horrible Digital system its playing through and an amazing Analog system playing, of course the Analog system will sound better in that case. Some believe that Digital is on par to overtake Analog in the "true picture of sound" category but some also say Analog will forever be the best at playing sound and Digital will always be the alternative.

But, in the end it's all personal preference and the pros and cons don't overweigh to make one better than the other.

6 0
3 years ago
__________ requires unbiased and careful questioning of whether system elements are related in the most effective ways, consider
Liono4ka [1.6K]

Answer:

The answer is "Critical analysis".

Explanation:

Critical analysis is a part of the operating system, that provides an analysis, which is used to process all bits in a system and run their computer system more efficiently.

  • This analysis is used in contextual writing because It reflects the author's interpretation or perception of the text.
  • This analysis hosts vulnerabilities in current desktop operating systems objectively.
5 0
3 years ago
In Python, if var1 = “Happy” and var2= “Birthday” and var3 = (var1+var2) *2, then var3 stores the string
-Dominant- [34]

Answer:

A

Explanation:

var3 is happy + birthday, ×2

l.e happy birthday happy birthday

3 0
3 years ago
I need help, thank you
BabaBlast [244]

Answer:

umm I think it's C it's between that one and d so the 1st and 4th but leaning more towards C

6 0
3 years ago
Other questions:
  • Does technology get in the way of learning ?<br> Help Meh ! ♥ Some ideas :D
    14·2 answers
  • Online databases allow you access to material you may not be able to find when using popular search engines like Google. Select
    10·1 answer
  • HELP asap please... ​
    13·1 answer
  • What is the foundational domain for business
    12·1 answer
  • Did it surprise you to discover that the Sun is actually a star in the middle of its life cycle? Why or why not?
    8·1 answer
  • In Python, what does this command do:<br>print ("\n")​
    8·1 answer
  • In order for a sort to work, which of the following is required?
    14·1 answer
  • The core of ___________ is the implementation of intrusion detection systems and intrusion prevention systems at entry points to
    8·1 answer
  • a. Describe how the student can use the jar of rice to model particle motion of a substance in each state of matter: solid, liqu
    10·1 answer
  • Identify and explain groups that may be impacted by nanotechnology.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!