Memory Operations: Read Operation: Memory Retrieves Contents at
Memory Operations: Read Operation: Memory Retrieves Contents at
Memory Operations
• Memory contains data & program instructions
• Control circuits initiate transfer of data and
instructions between memory and processor
• Read operation: memory retrieves contents at
address location given by processor
• Write operation: memory overwrites contents
at given location with given data
1
25/01/2016
2
25/01/2016
Assembly-Language Notation
• RTN shows data transfers and arithmetic
• Another notation needed to represent
machine instructions & programs using them
• Assembly language is used for this purpose
• For the two preceding examples using RTN,
the assembly-language instructions are:
Load R2, LOC
Add R4, R2, R3
Assembly-Language Notation
• An instruction specifies the desired operation
and the operands that are involved
• Examples here will use English words for the
operations (e.g., Load, Store, and Add)
• This helps emphasize fundamental concepts
• Commercial processors use mnemonics,
usually abbreviations (e.g., LD, ST, and ADD)
• Mnemonics differ from processor to processor
3
25/01/2016
4
25/01/2016
5
25/01/2016
6
25/01/2016