X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fcodeinfo.h;h=4e0b16887e603c4e9c75d4baca8281d0bea6b18b;hb=4a667ead00c10797fb57298b3dd33c2efc6c8d3f;hp=7e4eddf983c99c699093e92bc8862fe3f6d0c4bd;hpb=c6fe12ef6bfd75b228d38d4b7639e399a9b98b49;p=cc65 diff --git a/src/cc65/codeinfo.h b/src/cc65/codeinfo.h index 7e4eddf98..4e0b16887 100644 --- a/src/cc65/codeinfo.h +++ b/src/cc65/codeinfo.h @@ -154,6 +154,9 @@ int RegYUsed (struct CodeSeg* S, unsigned Index); int RegAXUsed (struct CodeSeg* S, unsigned Index); /* Check if the value in A or(!) the value in X are used. */ +int RegEAXUsed (struct CodeSeg* S, unsigned Index); +/* Check if any of the four bytes in EAX are used. */ + unsigned GetKnownReg (unsigned Use, const struct RegContents* RC); /* Return the register or zero page location from the set in Use, thats * contents are known. If Use does not contain any register, or if the