about summary refs log tree commit diff stats
path: root/mu_instructions
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-02-01 01:02:27 -0800
committerKartik Agaram <vc@akkartik.com>2020-02-01 01:02:27 -0800
commit9977cfe53cc95df50f5fb813de327ca0887c5176 (patch)
tree3baeee5a4112d58cb4650f0d8518ebc8fc3d22d7 /mu_instructions
parentaeac1e061d72442d919b4727a72f6af5fbb983a5 (diff)
downloadmu-9977cfe53cc95df50f5fb813de327ca0887c5176.tar.gz
5967
Diffstat (limited to 'mu_instructions')
-rw-r--r--mu_instructions6
1 files changed, 6 insertions, 0 deletions
diff --git a/mu_instructions b/mu_instructions
index 0571fdf0..3fd3a64e 100644
--- a/mu_instructions
+++ b/mu_instructions
@@ -183,4 +183,10 @@ loop-if-<= label            {.name="loop-if-<=",      .inouts=[label],
 loop-if->=                  {.name="loop-if->=",                                        .subx-name="0f 8d/jump-if->= loop/disp32"}
 loop-if->= label            {.name="loop-if->=",      .inouts=[label],                  .subx-name="0f 8d/jump-if->=",                    .disp32=inouts[0] ":loop"}
 
+There are also unconditional loop instructions. So far it doesn't seem like
+unconditional breaks have much use.
+
+loop                        {.name="loop",                                              .subx-name="e9/jump loop/disp32"}
+loop label                  {.name="loop",            .inouts=[label],                  .subx-name="e9/jump",                             .disp32=inouts[0] ":loop"}
+
 vim:ft=c:nowrap