// From riscv-spec-v2.2.pdf 
// Volume I: RISC-V User-Level ISA V2.2 page 104 
// RV32I Base Instruction Set

#define    lui     0x37                      
#define    auipc   0x17                      
#define    jal     0x6f                      
#define    jalr    0x67                      
#define    beq     0x63                      
#define    bne     0x63                      
#define    blt     0x63                      
#define    bge     0x63                      
#define    bltu    0x63                      
#define    bgeu    0x63                      
#define    lb      0x3                      
#define    lh      0x3                      
#define    lw      0x3                      
#define    lbu     0x3                      
#define    lhu     0x3                      
#define    sb      0x23                      
#define    sh      0x23                      
#define    sw      0x23                      
#define    addi    0x13                      
#define    slti    0x13                      
#define    sltiu   0x13                      
#define    xori    0x13                      
#define    ori     0x13                      
#define    andi    0x13                      
#define    slli    0x13                      
#define    srli    0x13                      
#define    srai    0x13                      
#define    add     0x33                      
#define    sub     0x33                       
#define    sll     0x33                       
#define    slt     0x33                      
#define    sltu    0x33                       
#define    xor     0x33                       
#define    srl     0x33                       
#define    sra     0x33                       
#define    or      0x33                       
#define    and     0x33                       
#define    fence   0xf                      
//#define    fence.i 0xf //C does not like the .
#define    ecall   0x73                      
#define    ebreak  0x73
#define    csrrw   0x73                      
#define    csrrs   0x73                      
#define    csrrc   0x73                      
#define    csrrwi  0x73                      
#define    csrrsi  0x73                      
#define    csrrci  0x73


                      
