Does anyone know what operations can change the Z bit in the STATUS register, and in what ways? For example, how does the instruction "movf COUNTL, F" changes the Z bit to 1 if COUNTL is 0?
Tags:
Any command in the instruction set (p7-61 or 7-69) with a Z in the last column, to see how it works look at this web page:http://technology.niagarac.on.ca/.../18F_Instruction_Set/
It changes the z-bit to 1 because W becomes 0, so the z bit gets set.
© 2024 Created by PML. Powered by