A1_1 - # or it into the instruction # sll $12, $12, 21 #...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
## A1_1.asm ## Written by: Colin Swelin 0308676 ## Program to assemble the instruction andi $9,$8,0x00AD ## .text .globl main . main: or $24, $0, $0 # clear $24 ori $11, $0, 0xC # opcode ori $12, $0, 0x8 # operand $s ori $13, $0, 0x9 # dest $d ori $14, $0 ,0x00AD # immediate operand o sll $11, $11, 26 # shift opcode into position or $25, $11, $0
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: # or it into the instruction # sll $12, $12, 21 # shift opcode $s into position or $25, $25, $12 # or it into the instruction # sll $13, $13, 16 # shift opcode $d into position or $25, $25, $13 # or it into the instruction # or $25, $25, $14 # or const into instruction # ## end of file...
View Full Document

This note was uploaded on 02/14/2010 for the course COMPUTER S COIS-3030 taught by Professor Hircock during the Spring '10 term at Trent University.

Ask a homework question - tutors are online