CPSC 355 Lecture Notes - Lecture 6: Call Stack, Arm Architecture, Negative Number

24 views5 pages

Document Summary

The link includes summary of the stack with photo. Armv8 uses 64 bit address: can address 264 bytes of memory, this is a virtual memory address space. Is mapped to physical memory by the os and hardware. A register can be loaded with 1,2,4 or 8 byte data from ram: data is placed into the low order bits. Important: be specific in low orders and high orders. Byte and halfword, word or doubleword data in register when the data is just part of a register (same to memory to register or register to memory, start from low order) Is space in ram provided by the os to store data for functions. A stack frame is pushed onto the stack when the function is called. Holds the function"s parameters, local variables, and return values. The frame is popped when the function returns. The stack pointer register sp always points to the top of the stack it decreased when the stack grows.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents