Welcome to pecelleleosk.blogspot.my! We provide information and notes about Computer Organization and Architecture for you to access just by your fingertips! Easy and no stress! Enjoy your study :D
Machine language is a programming language that can be directly understood and obeyed by a machine (computer) without conversion (translation) Read more here :)
Hierarchical View
click on the image for a better view :)
Machine Language
Machine language instructions are of four types: Arithmetic, Logical, Data transfer, and Branches (also called flow control), as follows:
Arithmetic: add (addition), sub(subtraction), mult (multiplication), div (division)
Logical:and, or, srl(shift right logical), ssl (shift left logical)
Data Transfer: lw (load word), sw (store word), lui (load upper immediate)
Branches:
Conditional:beq (branch on equal), bne (branch on not-equal), slt (set on less-than),
Important Note. MIPS has several register conventions that you should know, which are summarized in the following table. These conventions will be observed as we progress toward more involved MIPS programs
MIPS Adressing mode:
MIPS instructions have three different formats:
R format - Arithmetic instructions
Example 1: add
Important Note. MIPS has several register conventions that you should know, which are summarized in the following table.
Example 2:sub
I format- Branch, transfer, and immediate instructions Example 1- addi
J format - Jump instructions
0 Comments:
Post a Comment
|
owners
who's behind the blog?
This blog is owned by Syaurah, Najiha, Zahidah and Shahadah. We're currently studying Diploma in Information and Communication Technology at Universiti Teknikal Malaysia Melaka (UTeM). The blog is created as an assignment, but also to share knowledge about Computer Organization and Architecture in interesting and easy way.
Instruction: Language of the Computer II- Instruction Representation
Machine language is a programming language that can be directly understood and obeyed by a machine (computer) without conversion (translation) Read more here :)
Hierarchical View
click on the image for a better view :)
Machine Language
Machine language instructions are of four types: Arithmetic, Logical, Data transfer, and Branches (also called flow control), as follows:
Arithmetic: add (addition), sub(subtraction), mult (multiplication), div (division)
Logical:and, or, srl(shift right logical), ssl (shift left logical)
Data Transfer: lw (load word), sw (store word), lui (load upper immediate)
Branches:
Conditional:beq (branch on equal), bne (branch on not-equal), slt (set on less-than),
Important Note. MIPS has several register conventions that you should know, which are summarized in the following table. These conventions will be observed as we progress toward more involved MIPS programs
MIPS Adressing mode:
MIPS instructions have three different formats:
R format - Arithmetic instructions
Example 1: add
Important Note. MIPS has several register conventions that you should know, which are summarized in the following table.
Example 2:sub
I format- Branch, transfer, and immediate instructions Example 1- addi
0 Comments:
Post a Comment