// push pushes a byte onto the stack
push pushes a byte onto the stack
// push pushes a byte onto the stack
func (cpu *CPU) push(value byte) {
	cpu.nWrite(0x00, cpu.SP, value)
	cpu.SP--
	if cpu.E == 1 {
		cpu.SP = cpu.SP & 0x00FF
		cpu.SP = cpu.SP | 0x1000
	}
}
func ( cpu * CPU ) push ( value byte ) { cpu . nWrite ( 0x00 , cpu . SP , value ) cpu . SP -- if cpu . E == 1 { cpu . SP = cpu . SP & 0x00FF cpu . SP = cpu . SP | 0x1000 } }
push pushes a byte onto the stack
push pushes a byte onto the stack
//cpu.Write(0x100|uint16(cpu.SP), value) //cpu.Write(cpu.SP, value)