Skip to content

Instantly share code, notes, and snippets.

@letoh
Created March 10, 2012 06:00
Show Gist options
  • Save letoh/2010509 to your computer and use it in GitHub Desktop.
Save letoh/2010509 to your computer and use it in GitHub Desktop.
branch
;;
;; ( f -- ) _if <then_label>
;; do something
;; then_label:
;;
%macro _if 1
cell _0branch
dd %1-%%_offset
%%_offset:
%endmacro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment