MicrOS
stack.h File Reference
#include "v8086.h"
#include "memory_operations.h"

Go to the source code of this file.

Functions

static void push_byte (v8086 *machine, uint8_t value)
 
static void push_word (v8086 *machine, uint16_t value)
 
static void push_dword (v8086 *machine, uint32_t value)
 
static uint8_t pop_byte (v8086 *machine)
 
static uint16_t pop_word (v8086 *machine)
 
static uint32_t pop_dword (v8086 *machine)
 

Function Documentation

◆ pop_byte()

static uint8_t pop_byte ( v8086 machine)
inlinestatic

◆ pop_dword()

static uint32_t pop_dword ( v8086 machine)
inlinestatic

◆ pop_word()

static uint16_t pop_word ( v8086 machine)
inlinestatic

◆ push_byte()

static void push_byte ( v8086 machine,
uint8_t  value 
)
inlinestatic

◆ push_dword()

static void push_dword ( v8086 machine,
uint32_t  value 
)
inlinestatic

◆ push_word()

static void push_word ( v8086 machine,
uint16_t  value 
)
inlinestatic