MCPcopy
hub / github.com/fogleman/nes / pull

Method pull

nes/cpu.go:335–338  ·  view source on GitHub ↗

pull pops a byte from the stack

()

Source from the content-addressed store, hash-verified

333
334// pull pops a byte from the stack
335func (cpu *CPU) pull() byte {
336 cpu.SP++
337 return cpu.Read(0x100 | uint16(cpu.SP))
338}
339
340// push16 pushes two bytes onto the stack
341func (cpu *CPU) push16(value uint16) {

Callers 4

pull16Method · 0.95
plaMethod · 0.95
plpMethod · 0.95
rtiMethod · 0.95

Calls 1

ReadMethod · 0.65

Tested by

no test coverage detected