mirror of https://github.com/rui314/chibicc
dcd4579226
x86-64 psABI says that only the least significant 8 bits are significant if RAX has a return value of a function returning bool. Likewise, it looks like only the least significant 1 or 2 bytes are guaranteed to have a correct value for char and short return values, respectively. |
||
---|---|---|
test | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
chibicc.h | ||
codegen.c | ||
main.c | ||
parse.c | ||
strings.c | ||
tokenize.c | ||
type.c |
README.md
This is the reference implementation of https://www.sigbus.info/compilerbook.