home .. forth .. colorforth mail list archive ..

[colorforth] If? and A.


Not being familiar with c18, I turn to the group for these questions.

First:

Should 'if' (and -if) be defined as:
if c023 2, 74 2, here ;
which is: and eax,eax; jz nn

I do not know when the flags are set in the c18.

Second:

Why use edx as A register? Edx is used for mult/div and more. If
ebp was used, would that not more acurately reflect what happens on the
c18. Once an address is stored it would remain unchanged?

If this has been discussed before I would appreciate a pointer.
Sorry in that case.

Peter.



---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx