[A83] Re: Checking if OP1 is zero...


[Prev][Next][Index][Thread]

[A83] Re: Checking if OP1 is zero...




Yeah, that's a ROM call. _ckop1fp0 will check if OP1 is 0 and set the zero flag if it is. It also destroys the 'a' register as well, so push that if you need it.

Andrey Gorlin wrote:

> I am trying to write a function for James Vernon`s Maths Pack, and I need to check if OP1 is zero.  I cannot understand if "_ckop1fp0" does that or something else from reading ASM Guru.  Is that the right ROM call?  If not, what is?




References: