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

Method pull16

nes/cpu.go:349–353  ·  view source on GitHub ↗

pull16 pops two bytes from the stack

()

Source from the content-addressed store, hash-verified

347
348// pull16 pops two bytes from the stack
349func (cpu *CPU) pull16() uint16 {
350 lo := uint16(cpu.pull())
351 hi := uint16(cpu.pull())
352 return hi<<8 | lo
353}
354
355// Flags returns the processor status flags
356func (cpu *CPU) Flags() byte {

Callers 2

rtiMethod · 0.95
rtsMethod · 0.95

Calls 1

pullMethod · 0.95

Tested by

no test coverage detected