browser

Stack Effect Notation

notation
calendarsave
The following letters are used to identify stack items consumed or produced by xyw instructions or subroutines. Each letter can be followed by an integer counter to differentiate multiple values of the same type within the same signature. dot-single a -> 2-byte absolute address dot-single b -> 1-byte value dot-single d -> 1-byte direct page addresses dot-single f -> 1-byte boolean value (flag) dot-single n -> 1-byte or 2-byte value dot-single p -> 1-byte or 2-byte (direct page) value dot-single s -> 2-byte address to null-terminated string dot-single w -> 2-byte value === Example The signature for the equals subroutine is the following: s1 s2 -> f Where s1 and s2 are string addresses, and f is a boolean value.