These macros are similar to the algorithms in pseudocode typically used in teaching computer science.
Instead it's pseudocode (or p-code), which is usually a lot simpler but more powerful than a real machine language.