## ALP Programming Guide and Reference

[prev][next][parent][TOC]

### Examples

    DATE _ T   record   Year   : 7   =   0 ,    ;   0   is   1980
                    Month : 4   =   1 ,    ;   January
                    Day    : 5   =   1     ;   1st

    CODE   SEGMENT
       mov   AX ,   DATE _ T   < >                            ;   January   1st ,   1980
       mov   AX ,   DATE _ T   < 1996 - 1980 ,   12 ,   25 >         ;   Christmas ,   1996
       mov   AX ,   DATE _ T   < 10h ,   0Ch ,   19h >              ;   equivalent   values   in   hex
       mov   AX ,   DATE _ T   < 10000y ,   1100y ,   11001y >     ;   equivalent   values   in   binary
       mov   AX ,   2199h                                ;   equivalent   value   manually   coded
       mov   AX ,   0010000110011001y                   ;   and   in   binary
    ;           YYYYYYYMMMMDDDDD
    CODE   ENDS