[General boards] [Winter 2019 courses] [Fall 2018 courses] [Summer 2018 courses] [Older or newer terms]

Instruction vs. Operation


#1

Consider these
addi $1 $2 1
addi
Which one is instruction and which is operation?


#2

addi would be the operation. addi $1 $2 1 is an instruction because here you’re stating which values to add and where to store them. (more specifically, it’s an i-type instruction)