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
Exam (elaborations)

CPEN EXAM 2 Complete QUIZZES & ANS Graded A+

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
20-04-2024
Written in
2023/2024

CPEN EXAM 2 Complete QUIZZES & ANS Stack a range of consecutive memory locations set aside for temporarily storing and retrieving data bytes SP R13 Stack point grows from ____ addresses to ____ addresses high, low Stack is ____ in _____ out last, first _____ and _____ are instructions used to load and retrieve data from the stack PUSH, POP PUSH {R1} SUB R13, #4 STR R1, [R13] POP {R1} LDR R1, [R13] ADD R13, #4 subroutine return instruction BX LR subroutine call instruction BL subroutine CMP R0, #7 BLS next R0 7 CMP R0, #7 BLO next R0 = 7 CMP R0, #7 BHS next R0 7 CMP R0, #7 BHI next

Show more Read less
Institution
Course

Content preview

CPEN EXAM 2 Complete QUIZZES & ANS
Stack
a range of consecutive memory locations set aside for temporarily storing and retrieving data bytes


SP
R13


Stack point grows from ____ addresses to ____ addresses
high, low


Stack is ____ in _____ out
last, first


_____ and _____ are instructions used to load and retrieve data from the stack
PUSH, POP


PUSH {R1}
SUB R13, #4
STR R1, [R13]


POP {R1}
LDR R1, [R13]
ADD R13, #4


subroutine return instruction
BX LR


subroutine call instruction
BL subroutine


CMP R0, #7
BLS next
R0 > 7


CMP R0, #7
BLO next
R0 >= 7


CMP R0, #7
BHS next
R0 < 7


CMP R0, #7
BHI next

, R0 <= 7


BLS, BLO, BHS, BHI are _______ conditional structures
unsigned


BLT, BGE, BGT, BLE are _______ conditional structures
signed


CMP R0, #7
BNE next
R0 == 7


CMP R0, #7
BEQ next
R0 != 7


CMP R0, #7
BLE next
R0 > 7


CMP R0, #7
BLT next
R0 >= 7


CMP R0, #7
BGE next
R0 < 7


CMP R0, #7
BGT next
R0 <= 7


==
BNE


!=
BEQ


> (unsigned)
BLS


>= (unsigned)
BLO

Written for

Course

Document information

Uploaded on
April 20, 2024
Number of pages
8
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.19
Get access to the full document:

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


Also available in package deal

Get to know the seller

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.
EXAMSMART Howard Community College
Follow You need to be logged in order to follow users or courses
Sold
10
Member since
2 year
Number of followers
2
Documents
2992
Last sold
1 month ago
SMART.SCORES

On this page, you find all documents, package deals, and flashcards offered by seller LectJoshua.

5.0

2 reviews

5
2
4
0
3
0
2
0
1
0

Recently viewed by you

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