Simon Chamlian

__DATE__ and __TIME__ in assembly

Discussion created by Simon Chamlian on Aug 15, 2008
Latest reply on Aug 26, 2008 by CrasyCat

Hi,

Is there a way to insert date and time in an assembly code (equivalent to __DATE__ and __TIME__ in C).

Woul like to have something like:

 

Code:
 .global _aDate .global _aTime    .data _aDate: .long __DATE__  ; assembler MACRO_aTime: .long __TIME__  ; assembler MACRO .end


Thanks,


Outcomes