Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualKing Mir

Posted 12 November 2013 - 12:47 PM

A load gets an address from a register or immediate value, looks it up in memory, and puts the value found in a specified register.

A store gets an address from a register or immediate value and a value to store, and writes it to memory(or the write buffer if that's included in your model.)

Loads and stores can take many clock cycles more than any other instruction because they deal with memory.

BEQ, presumably branch on equal, reads a status register on the ALU, and if it's set appropriately, changes the instruction pointer to point to an offset specified by an immediate value.


It's hard to be more helpful without knowing the specific model your computer architecture course is using. So you should probably ask your professor or people who are familiar with that particular course and can see the assignments you're struggling with.

Just to clarify one thing: IP ("Instruction Pointer") is a synonym for PC ("Program Counter"), commonly used in the x86 architecture.

Yeah that was sloppy of me to use. I changed my above post not to mention IP.

#1King Mir

Posted 12 November 2013 - 12:45 PM

A load gets an address from a register or immediate value, looks it up in memory, and puts the value found in a specified register.

A store gets an address from a register or immediate value and a value to store, and writes it to memory(or the write buffer if that's included in your model.)

Loads and stores can take many clock cycles more than any other instruction because they deal with memory.

BEQ, presumably branch on equal, reads a status register on the ALU, and if it's set appropriately, changes the instruction pointer to point to an offset specified by an immediate value.


It's hard to be more helpful without knowing the specific model your computer architecture course is using. So you should probably ask your professor or people who are familiar with that particular course and can see the assignments you're struggling with.

PARTNERS