A B C D E F G H I J L M N O P R S T U V

A

AbstractCodeContainer - Class in com.github.croesch.micro_debug.commons
Represents a code container that is e.g.
AbstractCodeContainer() - Constructor for class com.github.croesch.micro_debug.commons.AbstractCodeContainer
 
addMacroBreakpoint(Integer) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Adds a breakpoint for the given line number in the macro code.
addMacroBreakpoint(Integer) - Method in class com.github.croesch.micro_debug.debug.BreakpointManager
Adds a breakpoint for the given line number in the macro code.
addMicroBreakpoint(Integer) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Adds a breakpoint for the given line number in the micro code.
addMicroBreakpoint(Integer) - Method in class com.github.croesch.micro_debug.debug.BreakpointManager
Adds a breakpoint for the given line number in the micro code.
addRegisterBreakpoint(Register, Integer) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Adds a breakpoint for the given Register and the given value.
addRegisterBreakpoint(Register, Integer) - Method in class com.github.croesch.micro_debug.debug.BreakpointManager
Adds a breakpoint for the given Register and the given value.
Alu - Class in com.github.croesch.micro_debug.mic1.alu
This class represents an ALU for 32 bit values.
Alu() - Constructor for class com.github.croesch.micro_debug.mic1.alu.Alu
Initialises all the one-bit-ALUs.
ALUSignalSet - Class in com.github.croesch.micro_debug.mic1.controlstore
Represents a set of signals: SLL8, SRA1, F0, F1, ENA , ENB, INVA and INC.
The signals determine the behavior of ALU and Shifter.

B

BreakpointManager - Class in com.github.croesch.micro_debug.debug
A manager for break points in the debugger.
BreakpointManager() - Constructor for class com.github.croesch.micro_debug.debug.BreakpointManager
 
bytesToInt(byte, byte, byte, byte) - Static method in class com.github.croesch.micro_debug.commons.Utils
Assembles the given bytes to one integer.

C

calculate() - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Performs calculation of the output signals based on the current values of input signals.
calculate() - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Performs calculation of the output signals based on the current values of input signals.
calculate() - Method in class com.github.croesch.micro_debug.mic1.shifter.Shifter
Performs calculation of the output signals based on the current values of input signals.
canContinue(int, int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Returns whether the processor should halt now or if it can continue.
canContinue(int, int) - Method in interface com.github.croesch.micro_debug.mic1.api.IProcessorInterpreter
Returns whether the processor should halt now or if it can continue.
CBusSignalSet - Class in com.github.croesch.micro_debug.mic1.controlstore
Represents a set of signals: H , CPP , MAR , MDR , OPC , PC , SP , TOS and LV.
The signals determine whether the result of ALU/Shifter should be written into the specific register.
checkMagicNumber(InputStream, int) - Static method in class com.github.croesch.micro_debug.commons.Utils
Reads the first four bytes of the given InputStream and throws an exception if they aren't equal to the expected magic number.
com.github.croesch.micro_debug - package com.github.croesch.micro_debug
 
com.github.croesch.micro_debug.commons - package com.github.croesch.micro_debug.commons
 
com.github.croesch.micro_debug.console - package com.github.croesch.micro_debug.console
 
com.github.croesch.micro_debug.debug - package com.github.croesch.micro_debug.debug
 
com.github.croesch.micro_debug.error - package com.github.croesch.micro_debug.error
 
com.github.croesch.micro_debug.i18n - package com.github.croesch.micro_debug.i18n
 
com.github.croesch.micro_debug.mic1 - package com.github.croesch.micro_debug.mic1
 
com.github.croesch.micro_debug.mic1.alu - package com.github.croesch.micro_debug.mic1.alu
 
com.github.croesch.micro_debug.mic1.api - package com.github.croesch.micro_debug.mic1.api
 
com.github.croesch.micro_debug.mic1.controlstore - package com.github.croesch.micro_debug.mic1.controlstore
 
com.github.croesch.micro_debug.mic1.io - package com.github.croesch.micro_debug.mic1.io
 
com.github.croesch.micro_debug.mic1.mem - package com.github.croesch.micro_debug.mic1.mem
 
com.github.croesch.micro_debug.mic1.mpc - package com.github.croesch.micro_debug.mic1.mpc
 
com.github.croesch.micro_debug.mic1.register - package com.github.croesch.micro_debug.mic1.register
 
com.github.croesch.micro_debug.mic1.shifter - package com.github.croesch.micro_debug.mic1.shifter
 

D

Debugger - Class in com.github.croesch.micro_debug.console
Class that handles the core of debugging.
Debugger(Mic1) - Constructor for class com.github.croesch.micro_debug.console.Debugger
Constructs a debugger for the given processor.
decode(MicroInstruction) - Static method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstructionDecoder
Decodes the given instruction and returns the String representing that instruction.
doTick() - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Tells the memory to do its work.

E

equals(Object) - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
 
equals(Object) - Method in class com.github.croesch.micro_debug.mic1.mem.IJVMCommand
 

F

FileFormatException - Exception in com.github.croesch.micro_debug.error
Signals that a file being read has another format than expected.
FileFormatException() - Constructor for exception com.github.croesch.micro_debug.error.FileFormatException
Constructs an FileFormatException with null as its error detail message.
FileFormatException(String, Throwable) - Constructor for exception com.github.croesch.micro_debug.error.FileFormatException
Constructs an FileFormatException with the specified detail message and cause.
FileFormatException(String) - Constructor for exception com.github.croesch.micro_debug.error.FileFormatException
Constructs an FileFormatException with the specified detail message.
FileFormatException(Throwable) - Constructor for exception com.github.croesch.micro_debug.error.FileFormatException
Constructs an FileFormatException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
fillRegisters(Register, Register) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
If at least the signal read or fetch has been set in the memory.
flush() - Static method in class com.github.croesch.micro_debug.mic1.io.Output
Empties the buffer and writes everything to the PrintStream
formatIntToHex(int, int) - Method in class com.github.croesch.micro_debug.commons.AbstractCodeContainer
Formats the given number to a hexadecimal number and returns an right aligned string with the given width.

G

getAluSignals() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
Returns the ALUSignalSet of this instruction.
getArgs() - Method in class com.github.croesch.micro_debug.mic1.mem.IJVMCommand
Returns a List of arguments that are required for this command.
getbBusSelect() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
Returns the value that defines the register that'll be written on the B-Bus.
getByte(int) - Method in interface com.github.croesch.micro_debug.mic1.api.IReadableMemory
Returns a single byte, unsigned, read from the address in the memory.
getByte(int) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Returns a single byte, unsigned, read from the address in the memory.
getCBusSignals() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
Returns the CBusSignalSet of this instruction.
getControlStore() - Method in class com.github.croesch.micro_debug.mic1.Mic1
Returns the control store of micro instructions.
getFirstPossibleCodeAddress() - Method in class com.github.croesch.micro_debug.commons.AbstractCodeContainer
Returns the address where the first possible code is stored.
getFirstPossibleCodeAddress() - Method in class com.github.croesch.micro_debug.console.MemoryInterpreter
 
getFirstPossibleCodeAddress() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroControlStore
 
getFormattedLine(int) - Method in class com.github.croesch.micro_debug.console.MemoryInterpreter
Returns the formatted line.
getInstruction(int) - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroControlStore
Returns the instruction from the store that is stored under the given mpc (address).
getJmpSignals() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
Returns the JMPSignalSet of this instruction.
getLastMacroAddress() - Method in class com.github.croesch.micro_debug.mic1.Mic1
Returns the address of the last executed code line.
getLastPossibleCodeAddress() - Method in class com.github.croesch.micro_debug.commons.AbstractCodeContainer
Returns the address where the last possible code is stored.
getLastPossibleCodeAddress() - Method in class com.github.croesch.micro_debug.console.MemoryInterpreter
 
getLastPossibleCodeAddress() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroControlStore
 
getLineSeparator() - Static method in class com.github.croesch.micro_debug.commons.Utils
Returns the line separator that is default for this system.
getMemory() - Method in class com.github.croesch.micro_debug.mic1.Mic1
Returns the main memory.
getMemorySignals() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
Returns the MemorySignalSet of this instruction.
getMemoryValue(int) - Method in class com.github.croesch.micro_debug.mic1.Mic1
Returns the value of the memory at the given address.
getMpc() - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Returns the calculated 9-bit-value.
getName() - Method in class com.github.croesch.micro_debug.mic1.mem.IJVMCommand
Returns the name of this command as viewed to the user.
getNextAddress() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
Returns the next address of this instruction.
getNextHigherValue(int, int...) - Static method in class com.github.croesch.micro_debug.commons.Utils
Giving a start value this iterates over all the other given values and returns the minimum of them that is higher than the given start value.
getNumberOfBytes() - Method in enum com.github.croesch.micro_debug.mic1.mem.IJVMCommandArgument
Returns the number of bytes needed to build this argument.
getOldMpc() - Method in class com.github.croesch.micro_debug.mic1.Mic1
Returns the address of the last executed micro code line.
getOut() - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Returns the calculated output.
getOutput() - Method in class com.github.croesch.micro_debug.mic1.shifter.Shifter
Returns the calculated output.
getProcessor() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Returns the processor that this is interpreting.
getRepresentationOfArgument(int, int, Memory) - Method in enum com.github.croesch.micro_debug.mic1.mem.IJVMCommandArgument
Returns the String representing the given value of this argument.
getSize() - Method in interface com.github.croesch.micro_debug.mic1.api.IReadableMemory
Returns the size of the memory.
getSize() - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Returns the size of the memory.
getValue(String) - Method in enum com.github.croesch.micro_debug.commons.Parameter
Converts the given String to an object that has the expected type.
getValue() - Method in enum com.github.croesch.micro_debug.commons.Settings
Returns the value of this setting.
getValue() - Method in enum com.github.croesch.micro_debug.mic1.register.Register
Gets the value currently stored in the register.
getWord(int) - Method in interface com.github.croesch.micro_debug.mic1.api.IReadableMemory
Returns the word value at the given address.
getWord(int) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Returns the word value at the given address.

H

hashCode() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
 
hashCode() - Method in class com.github.croesch.micro_debug.mic1.mem.IJVMCommand
 

I

IJVM_MAGIC_NUMBER - Static variable in class com.github.croesch.micro_debug.mic1.mem.Memory
the magic number that is needed at the begin of a binary ijvm-file
IJVMCommand - Class in com.github.croesch.micro_debug.mic1.mem
Wrapper class for a ijvm command and its arguments.
IJVMCommand(String, IJVMCommandArgument...) - Constructor for class com.github.croesch.micro_debug.mic1.mem.IJVMCommand
Constructs a new command with the given name and arguments.
IJVMCommandArgument - Enum in com.github.croesch.micro_debug.mic1.mem
Argument that belongs to an IJVMCommand.
IJVMConfigReader - Class in com.github.croesch.micro_debug.mic1.mem
Reads the configuration file for the ijvm-code and can parse it.
IJVMConfigReader() - Constructor for class com.github.croesch.micro_debug.mic1.mem.IJVMConfigReader
 
Input - Class in com.github.croesch.micro_debug.mic1.io
This class represents the connection to the input of the mic1-processor.
IProcessorInterpreter - Interface in com.github.croesch.micro_debug.mic1.api
Interpreter of a processor, can access and manipulate the processor.
IReadableMemory - Interface in com.github.croesch.micro_debug.mic1.api
Represents the memory that exports only read access.
isBreakpoint(int, int) - Method in class com.github.croesch.micro_debug.debug.BreakpointManager
Returns whether any break point condition is met.
isBuffered() - Static method in class com.github.croesch.micro_debug.mic1.io.Output
Returns whether this output is buffered or not.
isCpp() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal CPP is set.
isEnA() - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Returns whether the signal ENA is set.
isEnB() - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Returns whether the signal ENB is set.
isF0() - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Returns whether the signal F0 is set.
isF1() - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Returns whether the signal F1 is set.
isFetch() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MemorySignalSet
Returns whether the signal fetch is set.
isH() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal H is set.
isHaltInstruction() - Method in class com.github.croesch.micro_debug.mic1.Mic1
Returns whether the current instruction is the halt-instruction.
isInc() - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Returns whether the signal INC is set.
isInvA() - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Returns whether the signal INVA is set.
isJmpC() - Method in class com.github.croesch.micro_debug.mic1.controlstore.JMPSignalSet
Returns whether the signal JMPC is set.
isJmpN() - Method in class com.github.croesch.micro_debug.mic1.controlstore.JMPSignalSet
Returns whether the signal JMPN is set.
isJmpZ() - Method in class com.github.croesch.micro_debug.mic1.controlstore.JMPSignalSet
Returns whether the signal JMPZ is set.
isLv() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal LV is set.
isMar() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal MAR is set.
isMdr() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal MDR is set.
isN() - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Returns the whether the calculated output is negative.
isNopOrHalt() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
Returns whether this instruction simply points to another one without changing something.
isOneValueMinusOne(int[]) - Static method in class com.github.croesch.micro_debug.commons.Utils
Returns whether one of the given numbers is equal to -1.
isOpc() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal OPC is set.
isPc() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal PC is set.
isRead() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MemorySignalSet
Returns whether the signal read is set.
isSLL8() - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Returns whether the signal SLL8 is set.
isSp() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal SP is set.
isSRA1() - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Returns whether the signal SRA1 is set.
isTos() - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Returns whether the signal TOS is set.
isTracing(Register) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Returns whether the given Register is currently traced.
isTracing(Register) - Method in class com.github.croesch.micro_debug.console.TraceManager
Returns whether the given Register is currently traced.
isTracingLocalVariable(int) - Method in class com.github.croesch.micro_debug.console.TraceManager
Returns whether we are tracing the value of the local variable with the given number.
isTracingMacro() - Method in class com.github.croesch.micro_debug.console.TraceManager
Returns whether the macro code is currently traced.
isTracingMicro() - Method in class com.github.croesch.micro_debug.console.TraceManager
Returns whether the micro code is currently traced.
isWrite() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MemorySignalSet
Returns whether the signal write is set.
isZ() - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Returns the whether the calculated output is zero.

J

JMPSignalSet - Class in com.github.croesch.micro_debug.mic1.controlstore
Represents a set of signals: JMPN, JMPZ and JMPC.
The signals determine the behavior of calculation of next address in micro-program to execute.

L

listAllRegisters() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Lists the values of all Registers.
listAllRegisters() - Method in class com.github.croesch.micro_debug.console.TraceManager
Lists the values of all Registers.
listBreakpoints() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Lists all breakpoints.
listBreakpoints() - Method in class com.github.croesch.micro_debug.debug.BreakpointManager
Lists all breakpoints.
listRegister(Register) - Method in class com.github.croesch.micro_debug.console.TraceManager
Lists the value of a single Register.
listSingleRegister(Register) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Lists the value of a single Register.
logThrownThrowable(Throwable) - Static method in class com.github.croesch.micro_debug.commons.Utils
Logs that the given Throwable has been thrown.

M

main(String[]) - Static method in class com.github.croesch.micro_debug.MicroDebug
Starts the debugger.
Memory - Class in com.github.croesch.micro_debug.mic1.mem
Represents the main memory of the processor.
Memory(int, InputStream) - Constructor for class com.github.croesch.micro_debug.mic1.mem.Memory
Constructs a new memory containing the given number of words.
MEMORY_MAPPED_IO_ADDRESS - Static variable in class com.github.croesch.micro_debug.mic1.mem.Memory
address which isn't an address in the memory, but is connected to memory mapped io
MemoryInterpreter - Class in com.github.croesch.micro_debug.console
Interpreter of a memory, can print code and stack read from the memory.
MemoryInterpreter(Memory) - Constructor for class com.github.croesch.micro_debug.console.MemoryInterpreter
Constructs an interpreter of a memory, can print code and stack read from the memory.
MemorySignalSet - Class in com.github.croesch.micro_debug.mic1.controlstore
Represents a set of signals: write, read and fetch.
The signal write determines whether the content of the register MDR should be written to the memory to the address defined by MAR.
The signal read determines whether content of the memory at the address defined by MAR should be written into the register MDR.
The signal read determines whether content of the program memory at the address defined by PC should be written into the register MBR.
Mic1 - Class in com.github.croesch.micro_debug.mic1
This class represents the CISC-processor being debugged by this program.
Mic1(InputStream, InputStream) - Constructor for class com.github.croesch.micro_debug.mic1.Mic1
Constructs a new Mic1-processor, reading the given inputstreams as micro-program and assembler-program.
MIC1_MAGIC_NUMBER - Static variable in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstructionReader
the magic number that is needed at the begin of a binary mic1-file
Mic1Interpreter - Class in com.github.croesch.micro_debug.console
Interpreter of a processor, can access and manipulate the processor.
Mic1Interpreter(Mic1) - Constructor for class com.github.croesch.micro_debug.console.Mic1Interpreter
Constructs an interpreter for the given processor.
MicroControlStore - Class in com.github.croesch.micro_debug.mic1.controlstore
The store for MicroInstructions.
MicroControlStore(InputStream) - Constructor for class com.github.croesch.micro_debug.mic1.controlstore.MicroControlStore
Constructs a MicroControlStore with the MicroInstruction fetched from the given stream.
MicroDebug - Class in com.github.croesch.micro_debug
TODO Comment here ...
MicroInstruction - Class in com.github.croesch.micro_debug.mic1.controlstore
Represents an instruction in the micro code.
MicroInstruction(int, JMPSignalSet, ALUSignalSet, CBusSignalSet, MemorySignalSet, Register) - Constructor for class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
Constructs a single mic1-instruction.
MicroInstructionDecoder - Class in com.github.croesch.micro_debug.mic1.controlstore
Based on the implementation of Ray Ontko.
MicroInstructionReader - Class in com.github.croesch.micro_debug.mic1.controlstore
Based on the implementation of Ray Ontko.
microStep() - Method in class com.github.croesch.micro_debug.mic1.Mic1
If the processor hasn't reached the halt instruction this executes one micro instruction.
The number of effectively executed instructions is printed to the user.
microStep(int) - Method in class com.github.croesch.micro_debug.mic1.Mic1
Executes the given number of micro instructions.

N

NextMPCCalculator - Class in com.github.croesch.micro_debug.mic1.mpc
This class represents a calculator for the next micro-program-counter (MPC).
NextMPCCalculator() - Constructor for class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
 

O

Output - Class in com.github.croesch.micro_debug.mic1.io
This class represents the connection to the output of the mic1-processor.

P

Parameter - Enum in com.github.croesch.micro_debug.commons
Represents the different types of parameter that are possible.
print(Object) - Static method in class com.github.croesch.micro_debug.commons.Printer
Writes the text representation of the given object to the PrintStream.
print(byte) - Static method in class com.github.croesch.micro_debug.mic1.io.Output
Prints a single byte to the PrintStream.
printCode() - Method in class com.github.croesch.micro_debug.commons.AbstractCodeContainer
Prints the whole code to the user.
printCode(int, int) - Method in class com.github.croesch.micro_debug.commons.AbstractCodeContainer
Prints the code between the given lines to the user.
printCodeAroundLine(int, int) - Method in class com.github.croesch.micro_debug.commons.AbstractCodeContainer
Prints the given number lines of code around the given line to the user.
printCodeLine(int) - Method in class com.github.croesch.micro_debug.commons.AbstractCodeContainer
Prints the line with the given number to the user.
printCodeLine(int) - Method in class com.github.croesch.micro_debug.console.MemoryInterpreter
 
printCodeLine(int) - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroControlStore
 
printContent(int, int) - Method in class com.github.croesch.micro_debug.console.MemoryInterpreter
Prints the content of the memory between the given addresses.
printContent(int, int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Prints the content of the memory between the given addresses.
Printer - Class in com.github.croesch.micro_debug.commons
The interface to print information to the console.
printErrorln(Object) - Static method in class com.github.croesch.micro_debug.commons.Printer
Writes the text representation of the given object as an error to the PrintStream and adds a LF.
println(String) - Static method in class com.github.croesch.micro_debug.commons.Printer
Writes the given text to the PrintStream and adds a LF.
println(Object) - Static method in class com.github.croesch.micro_debug.commons.Printer
Writes the text representation of the given object to the PrintStream and adds a LF.
printMacroCode() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Prints the whole ijvm code to the user.
printMacroCode(int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Prints the given number of lines of code around the current line to the user.
printMacroCode(int, int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Prints the whole ijvm code to the user.
printMicroCode() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Prints the whole micro code to the user.
printMicroCode(int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Prints the given number of lines of micro code around the current line to the user.
printMicroCode(int, int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Prints the micro code to the user.
printReader(Reader) - Static method in class com.github.croesch.micro_debug.commons.Printer
Prints every line of the given Reader to the PrintStream.
printStack(int) - Method in class com.github.croesch.micro_debug.console.MemoryInterpreter
Prints the content of the stack.
printStack(int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Prints the content of the stack.

R

read(InputStream) - Static method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstructionReader
Reads five bytes from the given InputStream and constructs one MicroInstruction.
read() - Static method in class com.github.croesch.micro_debug.mic1.io.Input
Reads a single byte from the given input stream.
readConfig(InputStream) - Method in class com.github.croesch.micro_debug.mic1.mem.IJVMConfigReader
Tries to read configuration file from the given stream and returns the map with parsed entries.
Reader - Class in com.github.croesch.micro_debug.commons
The interface to read information from the console (or from the given Reader).
readLine() - Static method in class com.github.croesch.micro_debug.commons.Reader
Reads a line from the current Reader and returns it.
Register - Enum in com.github.croesch.micro_debug.mic1.register
This enumeration contains the registers of the processor.
removeBreakpoint(int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Removes the breakpoint with the given unique id.
removeBreakpoint(int) - Method in class com.github.croesch.micro_debug.debug.BreakpointManager
Removes the breakpoint with the given unique id.
represent(int, int, Memory) - Method in enum com.github.croesch.micro_debug.mic1.mem.IJVMCommandArgument
Returns the String representation of the given value that is expected to have the correct size.
reset() - Static method in class com.github.croesch.micro_debug.mic1.io.Input
Resets the internal buffer, so that the next call of Input.read() will cause an invocation of the underlying InputStream.
reset() - Static method in class com.github.croesch.micro_debug.mic1.io.Output
Empties the internal buffer, so that any contents printed into the buffer will be lost.
reset() - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Resets the Memory so that it behaves as when started.
reset() - Method in class com.github.croesch.micro_debug.mic1.Mic1
Resets the processor to its start values, except the debugging options.
run() - Method in class com.github.croesch.micro_debug.console.Debugger
Starts the debugger and returns when the debugger ended his work.
run() - Method in class com.github.croesch.micro_debug.mic1.Mic1
Executes all instructions until the end of the program.

S

setA(int) - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Sets the value for the input value A.
setAddr(int) - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Sets the value of the Addr (MIR[35:27]).
setB(int) - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Sets the value for the input value B.
setBuffered(boolean) - Static method in class com.github.croesch.micro_debug.mic1.io.Output
Determines if any output should be buffered before it's written to the PrintStream or not.
setByteAddress(int) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Sets the address of the byte, where to read from in the memory.
setCpp(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal CPP.
setEnA(boolean) - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Sets the value for the signal ENA.
setEnA(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Sets a new value for the signal ENA.
setEnB(boolean) - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Sets the value for the signal ENB.
setEnB(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Sets a new value for the signal ENB.
setF0(boolean) - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Sets the value for the signal F0.
setF0(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Sets a new value for the signal F0.
setF1(boolean) - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Sets the value for the signal F1.
setF1(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Sets a new value for the signal F1.
setFetch(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.MemorySignalSet
Sets a new value for the signal fetch.
setFetch(boolean) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Sets the input signal fetch, that enforces the main memory to read a byte from the memory.
setH(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal H.
setIn(InputStream) - Static method in class com.github.croesch.micro_debug.mic1.io.Input
Sets the input stream for the component.
setInc(boolean) - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Sets the value for the signal Carry in.
setInc(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Sets a new value for the signal INC.
setInput(int) - Method in class com.github.croesch.micro_debug.mic1.shifter.Shifter
Sets the value for the input of the shifter.
setInvA(boolean) - Method in class com.github.croesch.micro_debug.mic1.alu.Alu
Sets the value for the signal INVA.
setInvA(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Sets a new value for the signal INVA.
setJmpC(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.JMPSignalSet
Sets a new value for the signal JMPC.
setJmpC(boolean) - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Sets the value of the JMPC (MIR[26]).
setJmpN(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.JMPSignalSet
Sets a new value for the signal JMPN.
setJmpN(boolean) - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Sets the value of the JMPN (MIR[25]).
setJmpZ(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.JMPSignalSet
Sets a new value for the signal JMPZ.
setJmpZ(boolean) - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Sets the value of the JMPZ (MIR[24]).
setLv(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal LV.
setMar(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal MAR.
setMbr(byte) - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Sets the value of the register MBR.
setMdr(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal MDR.
setMemoryValue(int, int) - Method in class com.github.croesch.micro_debug.mic1.Mic1
Sets the value of the memory at the given address to the given value.
setN(boolean) - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Sets the value of the N - value fetched from the ALU.
setOpc(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal OPC.
setOut(PrintStream) - Static method in class com.github.croesch.micro_debug.mic1.io.Output
Sets the PrintStream to write the data to.
setPc(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal PC.
setPrintStream(PrintStream) - Static method in class com.github.croesch.micro_debug.commons.Printer
Sets the new PrintStream for the printer.
setProcessorInterpreter(IProcessorInterpreter) - Method in class com.github.croesch.micro_debug.mic1.Mic1
Sets the interpreter of this processor.
setRead(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.MemorySignalSet
Sets a new value for the signal read.
setRead(boolean) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Sets the input signal read, that enforces the main memory to read a word from the memory.
setReader(Reader) - Static method in class com.github.croesch.micro_debug.commons.Reader
Sets the Reader to read the information from.
setSLL8(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Sets a new value for the signal SLL8.
setSLL8(boolean) - Method in class com.github.croesch.micro_debug.mic1.shifter.Shifter
Sets the value for the control line SLL8.
setSp(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal SP.
setSRA1(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.ALUSignalSet
Sets a new value for the signal SRA1.
setSRA1(boolean) - Method in class com.github.croesch.micro_debug.mic1.shifter.Shifter
Sets the value for the control line SRA1.
Settings - Enum in com.github.croesch.micro_debug.commons
An enumeration of some settings that are made in a property-file.
setTos(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.CBusSignalSet
Sets a new value for the signal TOS.
setValue(int) - Method in enum com.github.croesch.micro_debug.mic1.register.Register
Sets the value for that register.
setWord(int, int) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Sets the word value at the given address to the given value.
setWordAddress(int) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Sets the address of the word, where to read from or write to in the memory.
setWordValue(int) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Sets the value of the word to write to the memory.
setWrite(boolean) - Method in class com.github.croesch.micro_debug.mic1.controlstore.MemorySignalSet
Sets a new value for the signal write.
setWrite(boolean) - Method in class com.github.croesch.micro_debug.mic1.mem.Memory
Sets the input signal write, that enforces the main memory to write a word to the memory.
setZ(boolean) - Method in class com.github.croesch.micro_debug.mic1.mpc.NextMPCCalculator
Sets the value of the Z - value fetched from the ALU.
Shifter - Class in com.github.croesch.micro_debug.mic1.shifter
This class represents a shifter for 32 bit values.
Shifter() - Constructor for class com.github.croesch.micro_debug.mic1.shifter.Shifter
 
step() - Method in class com.github.croesch.micro_debug.mic1.Mic1
If the processor hasn't reached the halt instruction this executes one macro instruction.
The number of effectively executed micro instructions is printed to the user.
step(int) - Method in class com.github.croesch.micro_debug.mic1.Mic1
Executes the given number of macro instructions.

T

Text - Enum in com.github.croesch.micro_debug.i18n
This class provides access to the internationalized text resources.
text() - Method in enum com.github.croesch.micro_debug.i18n.Text
String representation of this object
text(Object...) - Method in enum com.github.croesch.micro_debug.i18n.Text
String representation of this object, but {x} will be replaced by argument number x starting to count from 0.
TextProperties - Class in com.github.croesch.micro_debug.i18n
Properties that are filled with the properties fetched from the lang/testX.xml files, where X is defined by the attributes of the Locale.
TextProperties(Locale) - Constructor for class com.github.croesch.micro_debug.i18n.TextProperties
Properties that are filled with the properties fetched from the lang/testX.xml files, where X is defined by the attributes of the Locale.
tickDone(MicroInstruction, boolean) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Informs the interpreter that the processor has done one tick.
tickDone(MicroInstruction, boolean) - Method in interface com.github.croesch.micro_debug.mic1.api.IProcessorInterpreter
Informs the interpreter that the processor has done one tick.
toHexString(int) - Static method in class com.github.croesch.micro_debug.commons.Utils
Returns a string representation of the integer argument as an unsigned integer in base 16.

For example: 100 → 0x64
toString() - Method in enum com.github.croesch.micro_debug.i18n.Text
 
toString() - Method in class com.github.croesch.micro_debug.mic1.controlstore.MicroInstruction
 
toString() - Method in class com.github.croesch.micro_debug.mic1.mem.IJVMCommand
 
toValue(String) - Method in enum com.github.croesch.micro_debug.commons.Parameter
Converts the given String to an object that has the expected type.
traceLocalVariable(int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to trace the local variable with the given number.
traceLocalVariable(int) - Method in class com.github.croesch.micro_debug.console.TraceManager
Start tracing the value of the local variable with the given number.
traceMacro() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to trace the macro code.
traceMacro() - Method in class com.github.croesch.micro_debug.console.TraceManager
Performs to trace the micro code.
TraceManager - Class in com.github.croesch.micro_debug.console
Console view for the com.github.croesch.micro_debug.micro_debug.mic1.Mic1.
TraceManager(IReadableMemory) - Constructor for class com.github.croesch.micro_debug.console.TraceManager
A manager that is able to trace some things of the processors current state.
traceMicro() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to trace the micro code.
traceMicro() - Method in class com.github.croesch.micro_debug.console.TraceManager
Performs to trace the micro code.
traceRegister() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to trace all Registers.
traceRegister(Register) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to trace the given Register.
traceRegister() - Method in class com.github.croesch.micro_debug.console.TraceManager
Performs to trace all Registers.
traceRegister(Register) - Method in class com.github.croesch.micro_debug.console.TraceManager
Performs to trace the given Register.

U

untraceLocalVariable(int) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to not trace the local variable with the given number.
untraceLocalVariable(int) - Method in class com.github.croesch.micro_debug.console.TraceManager
Ends tracing the value of the local variable with the given number.
untraceMacro() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to not trace the macro code.
untraceMacro() - Method in class com.github.croesch.micro_debug.console.TraceManager
Performs to not trace the macro code anymore.
untraceMicro() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to not trace the micro code.
untraceMicro() - Method in class com.github.croesch.micro_debug.console.TraceManager
Performs to not trace the micro code anymore.
untraceRegister() - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to not trace any Register.
untraceRegister(Register) - Method in class com.github.croesch.micro_debug.console.Mic1Interpreter
Performs to not trace the given Register anymore.
untraceRegister() - Method in class com.github.croesch.micro_debug.console.TraceManager
Performs to not trace any Register.
untraceRegister(Register) - Method in class com.github.croesch.micro_debug.console.TraceManager
Performs to not trace the given Register anymore.
update(MicroInstruction, String) - Method in class com.github.croesch.micro_debug.console.TraceManager
Tells the view to update itself.
Utils - Class in com.github.croesch.micro_debug.commons
Class with utility methods.

V

valueOf(String) - Static method in enum com.github.croesch.micro_debug.commons.Parameter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.croesch.micro_debug.commons.Settings
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.croesch.micro_debug.i18n.Text
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.croesch.micro_debug.mic1.mem.IJVMCommandArgument
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.croesch.micro_debug.mic1.register.Register
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.croesch.micro_debug.commons.Parameter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.croesch.micro_debug.commons.Settings
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.croesch.micro_debug.i18n.Text
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.croesch.micro_debug.mic1.mem.IJVMCommandArgument
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.croesch.micro_debug.mic1.register.Register
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E F G H I J L M N O P R S T U V

Copyright © 2012. All Rights Reserved.