![]() |
PandA-2024.02
|

Go to the source code of this file.
Macros | |
| #define | R 0 |
| #define | ADDU 33 |
| #define | SUBU 35 |
| #define | MULT 24 |
| #define | MULTU 25 |
| #define | MFHI 16 |
| #define | MFLO 18 |
| #define | AND 36 |
| #define | OR 37 |
| #define | XOR 38 |
| #define | SLL 0 |
| #define | SRL 2 |
| #define | SLLV 4 |
| #define | SRLV 6 |
| #define | SLT 42 |
| #define | SLTU 43 |
| #define | JR 8 |
| #define | J 2 |
| #define | JAL 3 |
| #define | ADDIU 9 |
| #define | ANDI 12 |
| #define | ORI 13 |
| #define | XORI 14 |
| #define | LW 35 |
| #define | SW 43 |
| #define | LUI 15 |
| #define | BEQ 4 |
| #define | BNE 5 |
| #define | BGEZ 1 |
| #define | SLTI 10 |
| #define | SLTIU 11 |
| #define | IADDR(x) (((x)&0x000000ff)>>2) |
| #define | DADDR(x) (((x)&0x000000ff)>>2) |
Functions | |
| int | main () |
Variables | |
| 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 } |
| #define AND 36 |
Definition at line 51 of file mips.c.
Referenced by Range::And(), main(), and Range::shr().
| #define J 2 |
Definition at line 64 of file mips.c.
Referenced by __attribute__(), and main().
| #define OR 37 |
Definition at line 52 of file mips.c.
Referenced by main(), Range::Or(), and Range::shr().
| #define R 0 |
Definition at line 40 of file mips.c.
Referenced by __attribute__(), ASLAP::add_constraints_to_ALAP(), fixedpt_exp(), fixedpt_ln(), init_array(), main(), and print_array().
| int main | ( | void | ) |
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.
Referenced by __attribute__().

| const int A[8] = { 22, 5, -9, 3, -17, 38, 0, 11 } |
Definition at line 91 of file mips.c.
Referenced by __attribute__(), and main().
| int main_result |
Definition at line 38 of file mips.c.
Referenced by __attribute__(), DecodeHuffman(), decrypt(), encrypt(), first_marker(), get_dht(), get_dqt(), get_sof(), get_sos(), jpeg2bmp_main(), main(), and read_markers().
| const int outData[8] = { -17, -9, 0, 3, 5, 11, 22, 38 } |
Definition at line 92 of file mips.c.
Referenced by __attribute__(), and main().
1.8.13