Download Introduction to Assembly Language

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Instruction Formats
 All instructions are 32-bit wide, Three instruction formats:
 Register (R-Type)
 Register-to-register instructions
 Op: operation code specifies the format of the instruction
Op6
Rs5
Rt5
Rd5
sa5
funct6
 Immediate (I-Type)
 16-bit immediate constant is part in the instruction
Op6
Rs5
Rt5
immediate16
 Jump (J-Type)
 Used by jump instructions
Op6
Introduction to Assembly Language Programming
immediate26
COE 301 – KFUPM
© Muhamed Mudawar – slide 7