CEG 3136 Lecture Notes - Lecture 2: Status Register, Processor Register, Operand

42 views6 pages

Document Summary

Module 2 cpu register, condition codes, and addressing modes. Used for temporary data storage, parameter and control information storage for subroutines, and general data storage: notation used in comments, register name. Indicates a register and its contents: right arrow indicated data transfer operation indicates an exchange of data, contents of memory () b means that the contents of memory location are transferred to b. The content of a is then stored at the address the sp points to: pula, accumulator a is loaded from the address indicated by the sp. The sp is ten incremented by one: subroutine instruction, jsr address, sets up conditions to return to normal program flow, then transfer control to a subroutine. Uses the address of the instruction following the jsr as a return address: decrements the sp by two to allow the two bytes of the return address to be stacked, stacks the return address.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents