summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@visitor-011.row-08.revision-party.de>2011-04-25 13:15:37 +0000
committercinap_lenrek <cinap_lenrek@visitor-011.row-08.revision-party.de>2011-04-25 13:15:37 +0000
commitef2f5ba3db8af59c08858a978396933edf0028b3 (patch)
tree5dab5e7d76d79b920a4d8b77c76bd7f5786915b2
parenta96bc88d0703256c8105a94afafe597ac2128f90 (diff)
downloadplan9front-ef2f5ba3db8af59c08858a978396933edf0028b3.tar.xz
realemu: implement conditional set instruction, add dummys
-rw-r--r--sys/src/cmd/aux/realemu/xec.c7
-rw-r--r--usr/glenda/bin/386/.dummy0
-rw-r--r--usr/glenda/tmp/.dummy0
3 files changed, 7 insertions, 0 deletions
diff --git a/sys/src/cmd/aux/realemu/xec.c b/sys/src/cmd/aux/realemu/xec.c
index 5219e5c83..4d81c4d5c 100644
--- a/sys/src/cmd/aux/realemu/xec.c
+++ b/sys/src/cmd/aux/realemu/xec.c
@@ -814,6 +814,12 @@ opjump(Cpu *cpu, Inst *i)
}
static void
+opset(Cpu *cpu, Inst *i)
+{
+ aw(i->a1, cctrue(cpu, i));
+}
+
+static void
oploop(Cpu *cpu, Inst *i)
{
Iarg *cx;
@@ -1155,6 +1161,7 @@ static void (*exctab[NUMOP])(Cpu *cpu, Inst*) = {
[OCALL] = opcall,
[OJUMP] = opjump,
+ [OSET] = opset,
[OLOOP] = oploop,
[OLOOPZ] = oploop,
diff --git a/usr/glenda/bin/386/.dummy b/usr/glenda/bin/386/.dummy
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/usr/glenda/bin/386/.dummy
diff --git a/usr/glenda/tmp/.dummy b/usr/glenda/tmp/.dummy
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/usr/glenda/tmp/.dummy