From ef2f5ba3db8af59c08858a978396933edf0028b3 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 25 Apr 2011 13:15:37 +0000 Subject: [PATCH] realemu: implement conditional set instruction, add dummys --- sys/src/cmd/aux/realemu/xec.c | 7 +++++++ usr/glenda/bin/386/.dummy | 0 usr/glenda/tmp/.dummy | 0 3 files changed, 7 insertions(+) create mode 100644 usr/glenda/bin/386/.dummy create mode 100644 usr/glenda/tmp/.dummy 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 @@ -813,6 +813,12 @@ opjump(Cpu *cpu, Inst *i) jump(i->a1); } +static void +opset(Cpu *cpu, Inst *i) +{ + aw(i->a1, cctrue(cpu, i)); +} + static void oploop(Cpu *cpu, Inst *i) { @@ -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 diff --git a/usr/glenda/tmp/.dummy b/usr/glenda/tmp/.dummy new file mode 100644 index 000000000..e69de29bb