Hello. I am trying to make a 6502 assembly emulator for a roblox game, and I’ve gotten pretty far in doing so. Only issue is that in some parts, I absolutely NEED to add unsigned numbers together.
Is there any built-in function for adding 8 bit unsigned numbers together? I’ve been using the bit32 library a lot, but it doesn’t seem to have an adding function.
(For example, 8 bit unsigned math would be like: 0 - 2 = 254)