|
|
|
|
|
by lunixbochs
3877 days ago
|
|
I had several nitpicks with mine, but realized once the learner starts asking questions about gaps they're in a pretty good place to find an answer on their own. I do agree flags is less obvious, but also takes a bit of space to list what kind of flags one might see: "jump if equal" is facilitated by an implicit "flags" register which is set after most arithmetic or comparison operations like "sub". Possible flags include: - carry: the last arithmetic operation overflowed - zero: result of the last operation was zero - parity: result of the last operation was odd - sign: result of the last operation was negative |
|