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

Struct IN

asm/instructions.go:300–303  ·  view source on GitHub ↗

IN ---------------------- 0x0070 = IN Data, R0 0x0071 = IN Data, R1 0x0072 = IN Data, R2 0x0073 = IN Data, R3 0x0074 = IN Addr, R0 0x0075 = IN Addr, R1 0x0076 = IN Addr, R2 0x0077 = IN Addr, R3

Source from the content-addressed store, hash-verified

298// 0x0076 = IN Addr, R2
299// 0x0077 = IN Addr, R3
300type IN struct {
301 IoMode IO_MODE
302 ToRegister REGISTER
303}
304
305func (i IN) Size() int {
306 return 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected