#include <stdio.h>
#include "imem.h"
Go to the source code of this file.
|
int | main_result |
|
const int | A [8] = { 22, 5, -9, 3, -17, 38, 0, 11 } |
|
const int | outData [8] = { -17, -9, 0, 3, 5, 11, 22, 38 } |
|
◆ ADDIU
◆ ADDU
◆ AND
◆ ANDI
◆ BEQ
◆ BGEZ
◆ BNE
◆ DADDR
#define DADDR |
( |
|
x | ) |
(((x)&0x000000ff)>>2) |
◆ IADDR
#define IADDR |
( |
|
x | ) |
(((x)&0x000000ff)>>2) |
◆ JAL
◆ JR
◆ LUI
◆ LW
◆ MFHI
◆ MFLO
◆ MULT
◆ MULTU
◆ OR
◆ ORI
◆ SLL
◆ SLLV
◆ SLT
◆ SLTI
◆ SLTIU
◆ SLTU
◆ SRL
◆ SRLV
◆ SUBU
◆ SW
◆ XOR
◆ XORI
◆ main()
Definition at line 98 of file mips.c.
References A, ADDIU, ADDU, AND, ANDI, BEQ, BGEZ, BNE, DADDR, IADDR, imem, J, JAL, JR, LUI, LW, main_result, MFHI, MFLO, MULT, MULTU, OR, ORI, outData, R, SLL, SLLV, SLT, SLTI, SLTIU, SLTU, SRL, SRLV, SUBU, SW, XOR, and XORI.
const int A[8] = { 22, 5, -9, 3, -17, 38, 0, 11 } |
◆ main_result
◆ outData
const int outData[8] = { -17, -9, 0, 3, 5, 11, 22, 38 } |