tas.asm

test-and-set for x86

Author

Marcel Sondaar

License

Public Domain

Summary
tas.asmtest-and-set for x86
Functions
TaSsets a bit in a byte, and return the original

Functions

TaS

sets a bit in a byte, and return the original

in

  • Stack(1) = address of the bit to access

out

Return = original bit’s value (0 if clear, nonzero if set)