Subversion Repositories Kolibri OS

Rev

Rev 8170 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. use32
  2. org 0
  3.   db 'MENUET01'
  4.   dd 1
  5.   dd @Kolibri@Main$qv
  6.   dd I_END
  7.   dd U_END+STACKSIZE+HEAPSIZE
  8.   dd U_END+STACKSIZE
  9.   dd @Kolibri@CommandLine,0
  10.  
  11. include "..\..\KOSfuncs.inc"
  12. include "..\..\proc32.inc"
  13.  
  14. ptr equ
  15. offset equ
  16. short equ
  17. tbyte equ tword
  18.  
  19. PTR equ
  20. OFFSET equ
  21. SHORT equ
  22. TBYTE equ TWORD
  23.  
  24. macro movsb a,b
  25. {
  26.   if a eq & b eq
  27.     movsb
  28.   else
  29.     movsx a,b
  30.   end if
  31. }
  32.  
  33. macro movsw a,b
  34. {
  35.   if a eq & b eq
  36.     movsw
  37.   else
  38.     movsx a,b
  39.   end if
  40. }
  41.  
  42. macro segment name {}
  43.  
  44. macro endseg  name {}
  45.