From 62c5f45071c0a22deeea943fdb15f73cd5a0683b Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 2 Jul 2018 18:18:51 -0700 Subject: [PATCH] More decompiling --- disassemblyNotes.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/disassemblyNotes.txt b/disassemblyNotes.txt index 98d7ea8..b2eafff 100644 --- a/disassemblyNotes.txt +++ b/disassemblyNotes.txt @@ -1,3 +1,5 @@ +cmp.* seems like it can only set the Carry flag if the result or one of the parameters is negative + The first argument to a function is the last pushed on the stack(proof below, the 16 bit int is the last argument and its pushed first) ROM:1003026C move.w d0,-(sp) ; Move Data from Source to Destination