{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Use of Falsely Addressed Branches and Subroutine Calls

Use of Falsely Addressed Branches and Subroutine Calls -...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
° Use of Falsely Addressed Branches and Subroutine Calls : The destination of branches and calls is used indirectly, and this means the content of the destination is used as the address. These errors occur most often with the symbolic mode and the absolute mode: CALL MAIN ; Subroutine’s address is stored in MAIN CALL #MAIN ; Subroutine starts at address MAIN The real behavior is easily seen when looking to the branch instruction. It is an emulated instruction using the MOV instruction: BR MAIN ; Emulated instruction BR
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MOV MAIN,PC ; Emulation by MOV instruction The addressing for the CALL instruction is exactly the same as for the BR instruction. I2C • Inter-IC control • MSP430 User Manual – Chapter 15 • USART0 only • MSP430 connects to external system via: – SDA: Serial data – SCL: Serial clock I2C • Each I2C device is recognized by a unique address (instead of CS on SPI) • Master v. Slave – Master initiates data transfer (SDA) – Master generates clock signal (SCL)...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern