Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
Go to the source code of this file.
Classes | |
struct | _asm_x86_t |
Macros | |
#define | ASM_X86_REG_EAX (0) |
#define | ASM_X86_REG_ECX (1) |
#define | ASM_X86_REG_EDX (2) |
#define | ASM_X86_REG_EBX (3) |
#define | ASM_X86_REG_ESP (4) |
#define | ASM_X86_REG_EBP (5) |
#define | ASM_X86_REG_ESI (6) |
#define | ASM_X86_REG_EDI (7) |
#define | ASM_X86_REG_ARG_1 ASM_X86_REG_EAX |
#define | ASM_X86_REG_ARG_2 ASM_X86_REG_ECX |
#define | ASM_X86_REG_ARG_3 ASM_X86_REG_EDX |
#define | ASM_X86_REG_ARG_4 ASM_X86_REG_EBX |
#define | ASM_X86_REG_ARG_5 ASM_X86_REG_ESI |
#define | ASM_X86_CC_JB (0x2) |
#define | ASM_X86_CC_JZ (0x4) |
#define | ASM_X86_CC_JE (0x4) |
#define | ASM_X86_CC_JNZ (0x5) |
#define | ASM_X86_CC_JNE (0x5) |
#define | ASM_X86_CC_JL (0xc) |
#define | ASM_X86_CC_JGE (0xd) |
#define | ASM_X86_CC_JLE (0xe) |
#define | ASM_X86_CC_JG (0xf) |
Typedefs | |
typedef struct _asm_x86_t | asm_x86_t |
Functions | |
void | asm_x86_mov_r32_r32 (asm_x86_t *as, int dest_r32, int src_r32) |
void | asm_x86_mov_i32_to_r32 (asm_x86_t *as, int32_t src_i32, int dest_r32) |
void | asm_x86_mov_i32_to_r32_aligned (asm_x86_t *as, int32_t src_i32, int dest_r32) |
void | asm_x86_mov_r8_to_mem8 (asm_x86_t *as, int src_r32, int dest_r32, int dest_disp) |
void | asm_x86_mov_r16_to_mem16 (asm_x86_t *as, int src_r32, int dest_r32, int dest_disp) |
void | asm_x86_mov_r32_to_mem32 (asm_x86_t *as, int src_r32, int dest_r32, int dest_disp) |
void | asm_x86_mov_mem8_to_r32zx (asm_x86_t *as, int src_r32, int src_disp, int dest_r32) |
void | asm_x86_mov_mem16_to_r32zx (asm_x86_t *as, int src_r32, int src_disp, int dest_r32) |
void | asm_x86_mov_mem32_to_r32 (asm_x86_t *as, int src_r32, int src_disp, int dest_r32) |
void | asm_x86_and_r32_r32 (asm_x86_t *as, int dest_r32, int src_r32) |
void | asm_x86_or_r32_r32 (asm_x86_t *as, int dest_r32, int src_r32) |
void | asm_x86_xor_r32_r32 (asm_x86_t *as, int dest_r32, int src_r32) |
void | asm_x86_shl_r32_cl (asm_x86_t *as, int dest_r32) |
void | asm_x86_sar_r32_cl (asm_x86_t *as, int dest_r32) |
void | asm_x86_add_r32_r32 (asm_x86_t *as, int dest_r32, int src_r32) |
void | asm_x86_sub_r32_r32 (asm_x86_t *as, int dest_r32, int src_r32) |
void | asm_x86_mul_r32_r32 (asm_x86_t *as, int dest_r32, int src_r32) |
void | asm_x86_cmp_r32_with_r32 (asm_x86_t *as, int src_r32_a, int src_r32_b) |
void | asm_x86_test_r8_with_r8 (asm_x86_t *as, int src_r32_a, int src_r32_b) |
void | asm_x86_setcc_r8 (asm_x86_t *as, mp_uint_t jcc_type, int dest_r8) |
void | asm_x86_jmp_label (asm_x86_t *as, mp_uint_t label) |
void | asm_x86_jcc_label (asm_x86_t *as, mp_uint_t jcc_type, mp_uint_t label) |
void | asm_x86_entry (asm_x86_t *as, mp_uint_t num_locals) |
void | asm_x86_exit (asm_x86_t *as) |
void | asm_x86_mov_arg_to_r32 (asm_x86_t *as, int src_arg_num, int dest_r32) |
void | asm_x86_mov_local_to_r32 (asm_x86_t *as, int src_local_num, int dest_r32) |
void | asm_x86_mov_r32_to_local (asm_x86_t *as, int src_r32, int dest_local_num) |
void | asm_x86_mov_local_addr_to_r32 (asm_x86_t *as, int local_num, int dest_r32) |
void | asm_x86_call_ind (asm_x86_t *as, void *ptr, mp_uint_t n_args, int temp_r32) |
#define ASM_X86_REG_ARG_1 ASM_X86_REG_EAX |
#define ASM_X86_REG_ARG_2 ASM_X86_REG_ECX |
#define ASM_X86_REG_ARG_3 ASM_X86_REG_EDX |
#define ASM_X86_REG_ARG_4 ASM_X86_REG_EBX |
#define ASM_X86_REG_ARG_5 ASM_X86_REG_ESI |
typedef struct _asm_x86_t asm_x86_t |
void asm_x86_add_r32_r32 | ( | asm_x86_t * | as, |
int | dest_r32, | ||
int | src_r32 | ||
) |
void asm_x86_and_r32_r32 | ( | asm_x86_t * | as, |
int | dest_r32, | ||
int | src_r32 | ||
) |
void asm_x86_cmp_r32_with_r32 | ( | asm_x86_t * | as, |
int | src_r32_a, | ||
int | src_r32_b | ||
) |
void asm_x86_exit | ( | asm_x86_t * | as | ) |
void asm_x86_mov_arg_to_r32 | ( | asm_x86_t * | as, |
int | src_arg_num, | ||
int | dest_r32 | ||
) |
void asm_x86_mov_local_addr_to_r32 | ( | asm_x86_t * | as, |
int | local_num, | ||
int | dest_r32 | ||
) |
void asm_x86_mov_local_to_r32 | ( | asm_x86_t * | as, |
int | src_local_num, | ||
int | dest_r32 | ||
) |
void asm_x86_mov_mem16_to_r32zx | ( | asm_x86_t * | as, |
int | src_r32, | ||
int | src_disp, | ||
int | dest_r32 | ||
) |
void asm_x86_mov_mem32_to_r32 | ( | asm_x86_t * | as, |
int | src_r32, | ||
int | src_disp, | ||
int | dest_r32 | ||
) |
void asm_x86_mov_mem8_to_r32zx | ( | asm_x86_t * | as, |
int | src_r32, | ||
int | src_disp, | ||
int | dest_r32 | ||
) |
void asm_x86_mov_r16_to_mem16 | ( | asm_x86_t * | as, |
int | src_r32, | ||
int | dest_r32, | ||
int | dest_disp | ||
) |
void asm_x86_mov_r32_r32 | ( | asm_x86_t * | as, |
int | dest_r32, | ||
int | src_r32 | ||
) |
void asm_x86_mov_r32_to_local | ( | asm_x86_t * | as, |
int | src_r32, | ||
int | dest_local_num | ||
) |
void asm_x86_mov_r32_to_mem32 | ( | asm_x86_t * | as, |
int | src_r32, | ||
int | dest_r32, | ||
int | dest_disp | ||
) |
void asm_x86_mov_r8_to_mem8 | ( | asm_x86_t * | as, |
int | src_r32, | ||
int | dest_r32, | ||
int | dest_disp | ||
) |
void asm_x86_mul_r32_r32 | ( | asm_x86_t * | as, |
int | dest_r32, | ||
int | src_r32 | ||
) |
void asm_x86_or_r32_r32 | ( | asm_x86_t * | as, |
int | dest_r32, | ||
int | src_r32 | ||
) |
void asm_x86_sar_r32_cl | ( | asm_x86_t * | as, |
int | dest_r32 | ||
) |
void asm_x86_shl_r32_cl | ( | asm_x86_t * | as, |
int | dest_r32 | ||
) |
void asm_x86_sub_r32_r32 | ( | asm_x86_t * | as, |
int | dest_r32, | ||
int | src_r32 | ||
) |
void asm_x86_test_r8_with_r8 | ( | asm_x86_t * | as, |
int | src_r32_a, | ||
int | src_r32_b | ||
) |
void asm_x86_xor_r32_r32 | ( | asm_x86_t * | as, |
int | dest_r32, | ||
int | src_r32 | ||
) |