Thread: MSVC inline ASM...

  1. #16
    Registered User EvenFlow's Avatar
    Join Date
    Oct 2001
    Posts
    422
    why not just use DJGPP? It'll run under DOS, and you can use ASM in it.
    Ramble on...

  2. #17
    Blank
    Join Date
    Aug 2001
    Posts
    1,034




    why? when I do total ASM I never need a windows syscall...(btw, it was supposed to be int 21h...oops. but that didn't fix it)




    I tried using the extended regs, but that didn't work either...STUPID MSVC...






    Microsoft has control!




    int 21h is DOS interrupt call and msvc++ can only program for windows.

















    mov dx, name






    name is a 32 bit pointer and that is why you get the syntax error.
    In dos pointers are 16 bit so it will work.





    http://win32asm.rxsp.com/tutorials.html
    has windows assembly tutorials.

    To figure out how to do console windows programs, such as Hello World, compile some c code into assembly and see what it looks like.

  3. #18
    Registered User
    Join Date
    Oct 2001
    Posts
    55
    speaking of command prompt......that thing kicks ass ......u can see if peeps are hacking u


    just go to start, run and type in dosprmpt

    and type in netstat -n
    or netstat -a
    D4050
    Glorified C++ Programmer
    Console, DOS, HTML, Javascript, Visual Basics Compatible

  4. #19
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    that's not the command prompt, that's a program for the command prompt. so

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  2. Certain functions
    By Lurker in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2003, 01:26 AM
  3. Inline asm
    By wavering in forum C Programming
    Replies: 2
    Last Post: 01-29-2002, 02:42 AM
  4. Inline asm - I love it!
    By wavering in forum C Programming
    Replies: 2
    Last Post: 01-08-2002, 02:19 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM