Skip to content

Instantly share code, notes, and snippets.

@TheServer201
Last active November 3, 2016 22:48
Show Gist options
  • Save TheServer201/297bfdae89eef4fa34fea1ab727c51b7 to your computer and use it in GitHub Desktop.
Save TheServer201/297bfdae89eef4fa34fea1ab727c51b7 to your computer and use it in GitHub Desktop.
Bit Test Reset Jump
#define Btrj(x, y, z) asm goto("btr %0, %1\n\t" \
"jnc %l0 \n\t" \
: "+rm"(x) \
: "r"(y) \
: "cc" \
: z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment