Memory Flashcards
1
Q
how to change a value in memory
A
store in a register, change that, store back into memory
2
Q
how do we terminate a string in memory
A
null terminate eg 0x00
3
Q
psuedo code for loading a bytesized character from memory
A
ch = byte [address]
4
Q
psuedo code for storing a byte into register
A
byte [address] = ch
5
Q
ldrb means
A
load with byte
6
Q
strb means
A
store byte
7
Q
ldrh means
A
Load half word
8
Q
ldr means
A
load word
9
Q
strh measn
A
store hafl word
10
Q
str means
A
store word
11
Q
which has a reversed operand order str or ldr
A
STR
12
Q
what does rom stand for
A
read only memory
13
Q
what does ram stand for
A
random access memory
14
Q
can rom be modified by a running program
A
no
15
Q
can ram be modified by a running program
A
yes