Skip to content

Commit

Permalink
Merge pull request #404 from Vinc0682/master
Browse files Browse the repository at this point in the history
FIX documentaion of the CRASH instruction
  • Loading branch information
mkskeller authored Nov 1, 2021
2 parents bd67f80 + d626b39 commit 7b52ef9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Compiler/instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,9 @@ class join_tape(base.Instruction):
arg_format = ['int']

class crash(base.IOInstruction):
""" Crash runtime. """
""" Crash runtime if the register's value is > 0.
:param: Crash condition (regint)"""
code = base.opcodes['CRASH']
arg_format = ['ci']

Expand Down

0 comments on commit 7b52ef9

Please sign in to comment.