summaryrefslogtreecommitdiff
path: root/post/lib_ppc/cpu_asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'post/lib_ppc/cpu_asm.h')
-rw-r--r--post/lib_ppc/cpu_asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/lib_ppc/cpu_asm.h b/post/lib_ppc/cpu_asm.h
index 1cbaf41..ef6fe61 100644
--- a/post/lib_ppc/cpu_asm.h
+++ b/post/lib_ppc/cpu_asm.h
@@ -191,7 +191,7 @@
((imm2) << 6) + \
((imm3) << 1))
#define ASM_1O(opcode, off) ((opcode) + (off))
-#define ASM_3O(opcode, bo, bi, off) ((opcode) + \
+#define ASM_3O(opcode, bo, bi, off) ((opcode) + \
((bo) << 21) + \
((bi) << 16) + \
(off))