MCPcopy Index your code

hub / github.com/djhworld/simple-computer / functions

Functions604 in github.com/djhworld/simple-computer

↓ 439 callersMethodUpdate
()
cpu/cpu.go:278
↓ 256 callersFunctioncheckDecoder8x256Output
(decoder *Decoder8x256, inputs [8]bool, expected int, t *testing.T)
components/decoders_test.go:130
↓ 239 callersMethodGet
()
components/storage.go:29
↓ 135 callersMethodOutput
()
circuit/gates.go:67
↓ 118 callersMethodOutput
()
components/big_gates.go:28
↓ 109 callersMethodGetOutputWire
(int)
components/components.go:12
↓ 89 callersFunctionNewWire
(name string, value bool)
circuit/wires.go:8
↓ 78 callersMethodBit
(index int)
components/register.go:35
↓ 75 callersMethodAdd
(ins ...Instruction)
asm/instructions.go:668
↓ 72 callersFunctiontestOp
(alu *ALU, op uint16, inputA, inputB uint16, CarryIn bool, expectedOutput uint16, expectedEqual, expectedIsLar
alu/alu_test.go:292
↓ 68 callersFunctiontestInstruction
(instruction uint16, inputRegisters [4]uint16, expectedOutputRegisters [4]uint16, t *testing.T)
cpu/cpu_test.go:808
↓ 67 callersMethodGet
()
circuit/wires.go:19
↓ 60 callersFunctionsetMemoryLocation
(c *CPU, address uint16, value uint16)
cpu/cpu_test.go:1086
↓ 50 callersFunctionNewANDGate
()
circuit/gates.go:25
↓ 50 callersMethodSetInputWire
(int, bool)
components/components.go:11
↓ 50 callersMethodUpdate
()
io/peripheral.go:9
↓ 47 callersMethodString
()
asm/instructions.go:29
↓ 47 callersFunctiontestJMPConditional
(jmpConditionInstr, destination, initialInstr uint16, inputRegisters [4]uint16, expectedIAR uint16, t *testing
cpu/cpu_test.go:564
↓ 46 callersMethodOutput
()
components/components.go:407
↓ 43 callersFunctionClearMem
()
cpu/cpu_test.go:18
↓ 33 callersMethodSetInputWire
(index int, value bool)
components/components.go:269
↓ 33 callersMethodSetInputWire
(index int, value bool)
components/components.go:309
↓ 33 callersMethodSetInputWire
(index int, value bool)
components/components.go:349
↓ 33 callersFunctiondoFetchDecodeExecute
(c *CPU)
cpu/cpu_test.go:1080
↓ 31 callersMethodAddBlocks
(blocks ...[]Instruction)
asm/instructions.go:674
↓ 28 callersMethodSetIAR
Jump IAR
cpu/cpu.go:522
↓ 27 callersFunctionNewBus
(width int)
components/bus.go:10
↓ 27 callersMethodSetValue
(value uint16)
components/bus.go:32
↓ 25 callersFunctionSetUpCPU
()
cpu/cpu_test.go:14
↓ 23 callersFunctionNewORGate
()
circuit/gates.go:61
↓ 22 callersMethodGet
()
asm/instructions.go:680
↓ 22 callersMethodSet
()
cpu/cpu.go:273
↓ 22 callersMethodUnset
()
cpu/cpu.go:274
↓ 21 callersFunctionNewRegister
(name string, inputBus *Bus, outputBus *Bus)
components/register.go:22
↓ 21 callersFunctionsetRegisters
(c *CPU, values [4]uint16)
cpu/cpu_test.go:1213
↓ 19 callersFunctionNewNOTGate
()
circuit/gates.go:43
↓ 18 callersFunctionupdateSetStatus
(component Settable, state bool)
cpu/cpu.go:952
↓ 17 callersMethodSetInputWire
(index int, value bool)
components/components.go:233
↓ 17 callersFunctiontestParseInstructions
(input string, expected []Instruction, t *testing.T)
asm/parse_test.go:413
↓ 16 callersMethodUpdate
(inputA, inputB, inputC, inputD bool)
components/decoders.go:144
↓ 16 callersFunctioncheckDecoder4x16Output
(decoder *Decoder4x16, expected int, t *testing.T)
components/decoders_test.go:115
↓ 16 callersFunctionrunUpdateOn
(component Updatable)
cpu/cpu.go:940
↓ 16 callersFunctiontestLD
(instruction uint16, memAddress, memValue uint16, inputRegisters, expectedOutputRegisters []uint16, t *testing
cpu/cpu_test.go:221
↓ 16 callersFunctiontestST
(instruction uint16, inputRegisters [4]uint16, expectedValueAddress, expectedValue uint16, t *testing.T)
cpu/cpu_test.go:260
↓ 15 callersMethodUpdate
()
memory/memory.go:86
↓ 15 callersMethodValue
()
components/register.go:74
↓ 15 callersFunctiontestAdderReturnsCorrectResult
(inputA int, inputB int, carryIn bool, expectedResult int, expectedCarry bool, t *testing.T)
components/adder_test.go:31
↓ 13 callersMethodIndex
Returns the index which is enabled
components/decoders.go:80
↓ 13 callersFunctionNewANDGate3
()
components/big_gates.go:290
↓ 13 callersFunctionsetBus
(b *Bus, value uint16)
components/register_test.go:167
↓ 11 callersMethodEmit
(LabelResolver, SymbolResolver)
asm/instructions.go:30
↓ 11 callersMethodUpdate
()
components/register.go:55
↓ 11 callersFunctioncheckRegisters
(c *CPU, expReg0, expReg1, expReg2, expReg3 uint16, t *testing.T)
cpu/cpu_test.go:1206
↓ 11 callersFunctionupdateEnableStatus
(component Enableable, state bool)
cpu/cpu.go:944
↓ 10 callersMethodSize
()
asm/instructions.go:31
↓ 9 callersFunctionNewALU
(inputABus, inputBBus, outputBus, flagsOutputBus *components.Bus)
alu/alu.go:51
↓ 9 callersFunctioncallRoutine
(routine string)
cmd/generator/common.go:391
↓ 9 callersFunctionsetRegister
(c *CPU, register int, value uint16)
cpu/cpu_test.go:1118
↓ 9 callersFunctiontestRightShifter
(input int, shiftIn bool, expectedOutput int, expectedShiftOut bool, t *testing.T)
components/components_test.go:134
↓ 9 callersFunctionupdatePenPosition
(position uint16)
cmd/generator/common.go:397
↓ 8 callersMethodDisable
()
cpu/cpu.go:269
↓ 8 callersFunctionNewORGate4
()
components/big_gates.go:50
↓ 8 callersMethodUpdate
(inputA, inputB, inputC bool)
components/decoders.go:90
↓ 8 callersFunctionValueToString
(val uint16)
utils/common.go:7
↓ 8 callersFunctioncheckDecoder3x8Output
(decoder *Decoder3x8, expected []bool, t *testing.T)
components/decoders_test.go:122
↓ 8 callersFunctioncheckFlagsRegister
(c *CPU, expectedCarry, expectedIsLarger, expectedIsEqual, expectedIsZero bool, t *testing.T)
cpu/cpu_test.go:1165
↓ 8 callersFunctiontestComparatorReturnsCorrectResult
(inputA int, inputB int, expectedIsEqual bool, expectedIsLarger bool, t *testing.T)
components/components_test.go:447
↓ 8 callersFunctiontestIOInputInstruction
(instruction uint16, inputRegisters, expectedRegisters [4]uint16, t *testing.T)
cpu/cpu_test.go:958
↓ 8 callersFunctiontestIOOutputInstruction
(instruction uint16, inputRegisters [4]uint16, expectedPeripheralValue uint16, expectedDataMode, expectedAddre
cpu/cpu_test.go:988
↓ 8 callersFunctiontestShift
(instruction uint16, inputRegisters [4]uint16, expectedOutputRegisters [4]uint16, shifts uint16, t *testing.T)
cpu/cpu_test.go:846
↓ 7 callersFunctionNewBit
()
components/storage.go:13
↓ 7 callersFunctionNewDecoder8x256
()
components/decoders.go:188
↓ 7 callersMethodSet
()
components/register.go:47
↓ 7 callersFunctionexitWithError
(message string, err error, exitCode int)
cmd/assembler/main.go:19
↓ 7 callersFunctiontestLeftShifter
(input int, shiftIn bool, expectedOutput int, expectedShiftOut bool, t *testing.T)
components/components_test.go:103
↓ 7 callersFunctiontestMultiply
(inputA, inputB uint16, t *testing.T)
cpu/cpu_test.go:907
↓ 7 callersFunctiontestStepperStateAfter
(cycles, expectedOutput int, t *testing.T)
components/stepper_test.go:17
↓ 7 callersMethodwireToEnabler
(b components.Component, enablerIndex int)
alu/alu.go:140
↓ 6 callersMethodDisable
()
components/register.go:43
↓ 6 callersMethodEnable
()
cpu/cpu.go:268
↓ 6 callersMethodParse
(input io.Reader)
asm/parser.go:32
↓ 6 callersFunctioncheckBus
(b *Bus, expected uint16)
components/register_test.go:178
↓ 6 callersFunctioncheckRegister
(c *CPU, register int, expectedValue uint16, t *testing.T)
cpu/cpu_test.go:1184
↓ 6 callersFunctionrenderString
(str string)
cmd/generator/common.go:413
↓ 6 callersFunctionresetLinex
()
cmd/generator/common.go:198
↓ 6 callersFunctiontestSubtract
(inputA, inputB uint16, t *testing.T)
cpu/cpu_test.go:877
↓ 5 callersMethodConnectOutput
(Component)
components/components.go:10
↓ 5 callersFunctionNewNANDGate
()
circuit/gates.go:7
↓ 5 callersFunctionNewXORGate
()
circuit/gates.go:79
↓ 5 callersMethodUpdate
(inputA, inputB, carryIn bool)
components/adder.go:92
↓ 5 callersMethodUpdate
()
io/keyboard.go:65
↓ 5 callersFunctioncheckIAR
(c *CPU, expValue uint16, t *testing.T)
cpu/cpu_test.go:1151
↓ 5 callersMethodsetWireOnComponent
(b components.Component)
alu/alu.go:146
↓ 4 callersMethodConnectPeripheral
(p io.Peripheral)
cpu/cpu.go:516
↓ 4 callersFunctionNewDecoder2x4
()
components/decoders.go:16
↓ 4 callersFunctionNewEnabler
()
components/components.go:22
↓ 4 callersFunctionNewIsZero
()
components/components.go:162
↓ 4 callersFunctionNewMemory64K
(bus *components.Bus)
memory/memory.go:54
↓ 4 callersMethodUnset
()
components/register.go:51
↓ 4 callersMethodUpdate
(wireI bool, wireS bool)
components/storage.go:33
next →1–100 of 604, ranked by callers