Sparcassembly
Sparcassembly
CSE 30Final Review
Read Ch. 1 – 14 in textbook
Review all Programming Assignments
C, SPARC Assembly, command line args, errno, functions used in PAs including
stat(), fread()/fwrite(), bsearch(),
Review the Midterm and all Quizzes (and Sample Exercises)
Everything from the Midterm Review material
Stack/Local Variables
1-d arrays, 2-d arrays, 3-d arrays
traversing with a ptr vs. array indexing
structures
structure padding/internal alignment
Subroutines
Open subroutines
Closed subroutines
Recursion
Stack Frames
local variables
parameters
SPARC architecture features
sliding register window
in/local/out register sets
call – ret
save – restore
calling conventions
passing first 6 args; passing args 7+;
preallocate 92 bytes (64 + 4 + 24)
Leaf subroutines
call – retl/nop
No save – restore
IEEE Floating Point
Single precision / double precision
Decimal fixed-point -> binary fixed-point -> normalization/hidden bit
Sign bit | biased-127 exponent | mantissa/fraction
Underflow/overflow
FP arithmetic comparisions
Text, Data, and Linkage
Text/Data/BSS/Heap/Stack
Relocatable linker (linkage editor)
Static vs. dynamic linking
Extern declarations
Storage allocation locations and scoping of variables/constants in C
Loader
Thread safety and Static variables
SPARC architecture Machine Instructions
Simple instruction encoding and decoding
Format 2, Branch instructions
Format 3, 2nd source register instructions
Format 3, Immediate constant instructions
Given opcode/branch condition tables & register field mappings
You need to know internal layout/format of instructions
set vs. mov
Exercises 8-1 & 8-2 (p. 244)
Input/Output
Big picture: disk -> mem -> cache -> register
Caches
Buffer
Essay About 30Final Review And Sparc Assembly
Essay, Pages 1 (233 words)
Latest Update: June 27, 2021
//= get_the_date(); ?>
Views: 161
//= gt_get_post_view(); ?>
30Final Review And Sparc Assembly. (June 27, 2021). Retrieved from https://www.freeessays.education/30final-review-and-sparc-assembly-essay/