Simon Chamlian

Hi,   Is there a way to insert date and time in an assemb...

Discussion created by Simon Chamlian on Aug 15, 2008
Latest reply on Aug 18, 2008 by CrasyCat
Hi,
 
Is there a way to insert date and time in an assembly code (equivalent to __DATE__ and __TIME__ in C), Preferably as a long word rather than text.
 
Would like to have something like:
 
 
Code:
 .global _aDate .global _aTime    .data    _aDate: .long __DATE__  ; assembler MACRO_aTime: .long __TIME__  ; assembler MACRO .end

 
Thanks,
S.
 

Outcomes