Constructor
new BullGamma()
Constructs a new instance of BullGamma
- Source:
Methods
executeNextInstruction()
Executes the coming instruction if the current Series
- Source:
getGroup(id)
Given an ID, return the corresponding group
Parameters:
Name | Type | Description |
---|---|---|
id |
the group to return, should be between 0 and 3 included |
- Source:
getMemory(id, octadId) → {*}
Parameters:
Name | Type | Description |
---|---|---|
id |
the memory to be returned, if superior to 7, then the memory is selected from the octad | |
octadId |
if given, the memory will be selected from this octad, else from the current octad |
- Source:
Returns:
the memory with the desired id
- Type
- *
getMemoryMode() → {*}
- Source:
Returns:
the current memory mode for the machine, either MEMORY_MODE.BINARY or MEMORY_MODE.DECIMAL
- Type
- *
getOctad(id)
Given an ID, return the corresponding octad
Parameters:
Name | Type | Description |
---|---|---|
id |
the octad to return, should be between 0 and 7 included |
- Source:
getSerie(id)
Given an ID, return the corresponding serie
Parameters:
Name | Type | Description |
---|---|---|
id |
the serie to return, should be between 0 and 3 included |
- Source:
nextLine()
Compute the next line to be executed if no jump
- Source:
Returns:
next line
setCommutedOctad(id)
Changes the current octad the Bull Gamma is working with
Parameters:
Name | Type | Description |
---|---|---|
id |
id of the desired octad |
- Source:
setMemoryMode(newMode)
set the value for the machine's memory mode
Parameters:
Name | Type | Description |
---|---|---|
newMode |
the new value, either MEMORY_MODE.BINARY or MEMORY_MODE.DECIMAL |
- Source: