MCPcopy Create free account
hub / github.com/djhworld/simple-computer / OUT

Struct OUT

asm/instructions.go:264–267  ·  view source on GitHub ↗

OUT ---------------------- 0x0078 = OUT Data, R0 0x0079 = OUT Data, R1 0x007A = OUT Data, R2 0x007B = OUT Data, R3 0x007C = OUT Addr, R0 0x007D = OUT Addr, R1 0x007E = OUT Addr, R2 0x007F = OUT Addr, R3

Source from the content-addressed store, hash-verified

262// 0x007E = OUT Addr, R2
263// 0x007F = OUT Addr, R3
264type OUT struct {
265 IoMode IO_MODE
266 FromRegister REGISTER
267}
268
269func (o OUT) Size() int {
270 return 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected