Search Header Logo

Assembly language

Authored by Александр Журбенко

Computers

12th Grade

Used 6+ times

Assembly language
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the command INP do?

Get user input and store it in the accumulator

Load the accumulator with the content of the specified memory address

Stop the execution of the code

Output the value stored in the accumulator

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What function does the STA command perform?

Adds the content of the specified address to the accumulator

Stores the value from the accumulator in the specified memory address

Subtracts the content of the specified address from the accumulator

Loads the accumulator with the content of the specified memory address

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the BRP command do?

Goes to the specified address if the accumulator is zero or positive

Goes to the specified address if the accumulator is zero

Stops the execution of the code

Goes to the specified address

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What function does the SUB command perform?

Subtracts the contents of the accumulator from the specified address

Stores the value from the accumulator in the specified memory address

Adds the contents of the specified address to the accumulator

Subtracts the contents of the specified address from the accumulator

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the HLT command do?

Stops the execution of the code

Receives user input and stores it in the accumulator

Outputs the value stored in the accumulator

Loads the accumulator with the content of the specified memory address

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What function does the LDA command perform?

Adds the content of the specified address to the accumulator

Stores the value from the accumulator in the specified memory address

Loads the contents of the specified memory address into the accumulator.

Subtracts the content of the specified address from the accumulator

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the BRZ command do?

Go to the specified address

Go to the specified address if the accumulator is zero or positive

Stop the execution of the code

Go to the specified address if the accumulator is zero

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?