MicrOS
stack_operations.h
Go to the documentation of this file.
1 #ifndef MICROS_STACK_OPERATIONS_H
2 #define MICROS_STACK_OPERATIONS_H
3 
4 #include "../v8086.h"
5 
6 int16_t push_gpr(v8086* machine, uint8_t opcode);
7 int16_t pop_gpr(v8086* machine, uint8_t opcode);
8 int16_t pop_rm(v8086* machine);
9 int16_t push_all(v8086* machine);
10 int16_t pop_all(v8086* machine);
11 int16_t push_immediate(v8086* machine, uint8_t width);
12 int16_t enter(v8086* machine, uint8_t width);
13 int16_t leave(v8086* machine, uint8_t width);
14 
15 
16 #endif //MICROS_STACK_OPERATIONS_H
int16_t push_immediate(v8086 *machine, uint8_t width)
Definition: stack_operations.c:104
int16_t leave(v8086 *machine, uint8_t width)
Definition: stack_operations.c:189
int16_t pop_gpr(v8086 *machine, uint8_t opcode)
Definition: stack_operations.c:20
v8086 * machine
Definition: vbe.c:8
int16_t push_all(v8086 *machine)
Definition: stack_operations.c:47
int16_t push_gpr(v8086 *machine, uint8_t opcode)
Definition: stack_operations.c:8
Definition: v8086.h:155
int16_t pop_rm(v8086 *machine)
Definition: stack_operations.c:32
int16_t enter(v8086 *machine, uint8_t width)
Definition: stack_operations.c:133
int16_t pop_all(v8086 *machine)
Definition: stack_operations.c:75