Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

ECEN 350 SPRING24- QUIZ 6 QUESTIONS

Document preview thumbnail
Preview 1 out of 2 pages

ECEN 350 SPRING24- QUIZ 6 QUESTIONS

Content preview

ECEN 350 SPRING24- QUIZ 6 QUESTIONS

A ___________ is a sequence of instructions that starts with a branch target and ends
with a branch. - Answer -Basic Block

B-TypeConditional branches in ARMv8 are limited in the maximum distance the branch
destination can be from the current PC. If a (somewhat) larger range is needed the
_______ instruction can be used in combination with a conditional branch to get a
greater range. - Answer -

Given the following address and instruction stored at that address for a B instruction,
what is the jump target address (in hex)?
Address Value
0x10000000 0x1400AF15
Write your answer in hex with a leading 0x and all leading 0's removed. - Answer -
0x1002BC54

Given the following machine code instruction for a CBZ:
0xB4FFFF44
How much is added to the PC of the branch to form the branch target?
Give your answer in bytes as a hex value with a leading 0x, use a leading "-" if negative.
(ie. -0x2 for a negative 2). - Answer --0x18

In general, control flow instructions do no work, i.e. they manipulate no data. - Answer -
True - Control flow instructions choose which instruction will be exectued next but they
do not change the state of the processor otherwise.

The S appended to arithmetic operations is only needed to set the condition codes for
CBZ and CBNZ. - Answer -False - SUBS and etc. are used to set condition codes for
use in B.XX branches.

When constructing the destination of an unconditional branch from the machine code of
a B instruction, the top four bits of the destination address should be set to 0x0. -
Answer -False - The offset encoded in the instruction is left shifted by two and added to
the PC of the branch.

Another name for the "Heap" is the _________ data region of the memory map. -
Answer -dynamic

Assuming a simple subroutine that does not call any further subroutines itself, must use
four of the saved registers, how many bytes are pushed on the stack when the function
is entered? - Answer -32

Document information

Uploaded on
December 14, 2025
Number of pages
2
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$9.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA
3.8
(364)
Sold
2149
Followers
1448
Items
59531
Last sold
18 hours ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions