CS 1104 Computer Systems – Discussion Forum – Unit 6 - 4.pdf - CS 1104 Computer Systems – Discussion Forum – Unit 6 To avoid the conflict in

CS 1104 Computer Systems – Discussion Forum – Unit 6 - 4.pdf

This preview shows page 1 - 2 out of 3 pages.

CS 1104 Computer Systems Discussion Forum Unit 6 To avoid the conflict in using the A register, a well written C-instruction that contains a jump instruction must not contain a reference to M and vice versa because as we know that the A register can be used to either contain the constant value in the data memory (RAM) or selecting a RAM location means the value in A is the address of the RAM location or for fetching the instruction in ROM where the value in A is the address of the ROM location. As we know that the A-instruction is used to set the A register to a 15-bit value (Nisan & Schocken, 2005).The three possible use of A register explained above is: : For the second part we can save the value of D in M or access it means to retrieve the value from RAM. M is basically RAM. Here there are no jump instructions. M is only used for retrieving or saving. As stated, “The A register value is used as the RAM address when reading or writing the M register. The A register value is also used to set the program counter (PC) when a program jump occurs.” (Nisan & Schocken, 2005) We cannot have a reference of M for example:
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 3 pages?

  • Fall '19

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

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors