Ignore:
Timestamp:
Mar 10, 2015, 9:02:34 AM (11 years ago)
Author:
rousseau
Message:

Added support for JWasm

Set USE_JWASM=1 in the environment to use JWasm instead of Alp.

This is a quick hack as it does not use the existing JWASM.kmk
functionality of kBuild yet. So setting USE_JWASM:=1 in LocalConfig.kmk
will not work and JWasm must be somewhere in the PATH.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/src/kernel32/asmutil.asm

    r21916 r22086  
    239239_clear_bit endp
    240240
     241ifndef __JWASM__
    241242rdtsc           macro
    242243                db      0Fh, 31h
    243244endm
     245endif
    244246
    245247                public  GetPentiumTSC
    246248GetPentiumTSC   proc    near
    247249                mov     ecx , [esp + 4]
     250ifndef __JWASM__
    248251                rdtsc
     252else
     253                .586p
     254                rdtsc
     255                .386p
     256endif
    249257                mov     [ecx] , eax
    250258                mov     [ecx + 4] , edx
Note: See TracChangeset for help on using the changeset viewer.