Category : Assembly Language Source Code
Archive   : SA-MASM6.ZIP
Filename : FLAGS.INC

 
Output of file : FLAGS.INC contained in archive : SA-MASM6.ZIP
;=============================================================================
; FLAGS.INC
;
; This INCLUDE file contains text macros for various combinations of the
; predefined flag symbols CARRY?, ZERO?, SIGN?, and OVERFLOW?. They are
; meant to parallel various jump conditions. Note that the exclamation
; points must be doubled to produce a single exclamation point since ! is
; the literal-character operator.
;=============================================================================

ABOVE? TEXTEQU <(!!CARRY? && !!ZERO?)>
ABOVE_EQ? TEXTEQU <(!!CARRY?)>
BELOW? TEXTEQU <(CARRY?)>
BELOW_EQ? TEXTEQU <(CARRY? || ZERO?)>
EQUAL? TEXTEQU <(ZERO?)>
GREATER? TEXTEQU <(!!ZERO? && (SIGN? == OVERFLOW?))>
GREATER_EQ? TEXTEQU <(SIGN? == OVERFLOW?)>
LESS? TEXTEQU <(SIGN? !!= OVERFLOW?)>
LESS_EQ? TEXTEQU <(ZERO? || (SIGN? !!= OVERFLOW?))>


  3 Responses to “Category : Assembly Language Source Code
Archive   : SA-MASM6.ZIP
Filename : FLAGS.INC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/