We planned to upgrade GitLab and Mattermost to the latest version this Friday morning (early). You may experience some downtime!

Verified Commit 2b2d7317 authored by Camil Staps's avatar Camil Staps 🚀

Document new jmpD instruction

parent e48d58c8
......@@ -375,6 +375,7 @@ branches =
[ i_jmp
, i_jmp_false
, i_jmp_true
, i_jmpD
, i_jsr
, i_jsr_eval
, i_rtn
......@@ -398,6 +399,19 @@ where
, aie_arguments = [LABEL]
, aie_description = "Jump to a label if the Bool on top of the B-stack is true."
}
i_jmpD =
{ zero
& aie_instruction = "jmpD"
, aie_arguments = [CHAR, CHAR, LABEL, A_SIZE, LABEL, LABEL]
, aie_description = join " "
[ "Compare the descriptor on top of the B-stack to the first label according to the characters:"
, "`a` stands for above, `b` for below, and `e` for equal."
, "If the first comparison is true, jump to the second label."
, "If not, but the second comparison is true, jump to the third label."
, "The A-size gives the arity of the descriptor."
, "The characters are given without quotes."
]
}
i_jsr =
{ zero
& aie_instruction = "jsr"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment