ProgramMemory15<OT extends ProgramOperation> class
Null safety
Methods
-
adjustStackForRunStopStarting()
→ void
-
A RunStop keypress can resume a program, in which case the return stack
should be left undisturbed. It can also start a "new" program run,
so we need to be sure the return stack isn't in underflow
inherited
-
debugReturnStack()
→ String
-
inherited
-
decodeJson(Map<String, dynamic> json)
→ void
-
Must be called after the register storage has been read in, so any
stray data will be properly zeroed out.
inherited
-
deleteCurrent()
→ void
-
inherited
-
displayCurrent({bool flash = false, bool delayed = false})
→ void
-
inherited
-
doNextIf(bool condition)
→ void
-
inherited
-
getAllInstructions()
→ List<ProgramInstruction<OT>>
-
inherited
-
getCurrent()
→ ProgramInstruction<OT>
-
inherited
-
gosub(int label)
→ void
-
inherited
-
goto(int label)
→ void
-
override
-
gotoOpCode(int wanted)
→ void
-
inherited
-
importProgram(String listing)
→ void
-
inherited
-
importProgramFromFile(Uint8List original)
→ void
-
inherited
-
incrementCurrentLine()
→ void
-
Increment the current line, up to a max of lines, wrapping to 0.
To be clear, there are lines+1 possible values.
inherited
-
insert(ProgramInstruction<OT> instruction)
→ void
-
Insert a new instruction, and increment currentLine to refer to it.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed.
inherited
-
opcodeAt(int line)
→ int
-
inherited
-
popReturnStack()
→ void
-
inherited
-
reset({bool zeroMemory = true})
→ void
-
inherited
-
resetReturnStack()
→ void
-
inherited
-
skipIfRunning()
→ void
-
inherited
-
stepCurrentLine(int sign)
→ void
-
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited