1/16
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Describe the function in C:
How they are defined
breakdown of their definition'
purpose

Describe how a function call affects program flow:
what non-branching instructions do to prgram flow
what function calls do
c equivalent of function calls in assembly

Describe the fetch execute cycle of a CPU when a conditional branch is used:
first line is the branching instruction
condition is met 3 lines after
state how it affects performance

Describe how to call functions in ARM:
calling a function
returning from a function
the process of how either works
the keyword that helps with function calls and returns


Describe the arguments and return values of a function in ARM:
how arguments are used
how return values are used
convert the c code into ARM code

Describe the function used to branch to an address stored in a register

Describe how to call a function from another function in ARM assembly:
how the first function is called
how the second function is called
how the functions are returned

Describe how to implement recursive functions in ARM

Describe the convention of function calls relating to return values and arguments in ARM:
where arguments are stored
register of return value
how double-word sized data is stored
how to store more arguments
which registers are preserved

Describe the Stack:
its purpose
what it is
instructions for accessing it
How it grows and shrinks in ARM

Describe the Stack:
what it stores

Describe the stack:
its use in storing local variables
how data is stored on it
location of most recent data item

Describe the stack in the memory layout of the STM32F407VGT

Describe the Stack pointer:
what it does
where it starts in memory
direction of growth in memory
when increm

Describe how the Stack operates in the STM32F407VGT microcontroller:
Processor used
architecture used
what pushing data does
what popping data does
location of base address in Stack



For the following C code:
Write the equivalent ARM code that doesn’t violate rules

Describe how to load/store multiple registers to the stack at once:
The operations used
how to decrement/increment before or after

