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

Struct OR

asm/instructions.go:385–388  ·  view source on GitHub ↗

ORS ---------------------- 0x00D0 = OR R0, R0 0x00D1 = OR R0, R1 0x00D2 = OR R0, R2 0x00D3 = OR R0, R3 0x00D4 = OR R1, R0 0x00D5 = OR R1, R1 0x00D6 = OR R1, R2 0x00D7 = OR R1, R3 0x00D8 = OR R2, R0 0x00D9 = OR R2, R1 0x00DA = OR R2, R2 0x00DB = OR R2, R3 0x00DC = OR R3, R0 0x00DD = OR R3, R1 0x00DE

Source from the content-addressed store, hash-verified

383// 0x00DE = OR R3, R2
384// 0x00DF = OR R3, R3
385type OR struct {
386 ARegister REGISTER
387 BRegister REGISTER
388}
389
390func (o OR) Size() int {
391 return 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected