git: 9front

Download patch

ref: f3503fdab5a4c0b950772d0d5d862bee98d0d199
parent: 708c7252feb3520083d2c1e5faf59cd2a6087e52
author: cinap_lenrek <cinap_lenrek@visitor-011.row-08.revision-party.de>
date: Mon Apr 25 09:15:37 EDT 2011

realemu: implement conditional set instruction, add dummys

--- a/sys/src/cmd/aux/realemu/xec.c
+++ b/sys/src/cmd/aux/realemu/xec.c
@@ -814,6 +814,12 @@
 }
 
 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 @@
 
 	[OCALL] = opcall,
 	[OJUMP] = opjump,
+	[OSET] = opset,
 
 	[OLOOP] = oploop,
 	[OLOOPZ] = oploop,
--