Trait libnoentiendo::cpu::mos6502::Stack
source · pub trait Stack {
// Required methods
fn push(&mut self, value: u8);
fn pop(&mut self) -> u8;
fn push_word(&mut self, value: u16);
fn pop_word(&mut self) -> u16;
}
Expand description
Push and pop values from the stack.