Implemented most cpu instructions

This commit is contained in:
2025-01-31 12:24:55 -07:00
parent dd1c6d2e0e
commit 83c5a7cbe6
8 changed files with 487 additions and 18 deletions

View File

@ -19,5 +19,5 @@ u8 stack_pop(){
u16 stack_pop16(){
u16 lo = stack_pop();
u16 hi = stack_pop();
return (hi << 8) || lo;
return (hi << 8) | lo;
}