Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CppMaster

    Fatal: 16 bit segments not supported in module TEST.ASM

    I'm assuming you meant I should simply remove them, which would mean: MODEL small .STACK 64 .DATA DATA1 DB 52H DATA2 DB 59H SUM DB ? .CODE MAIN PROC FAR MOV AL, DATA1 MOV BL, DATA2 ADD AL, BL MOV SUM, AL...
  2. CppMaster

    Fatal: 16 bit segments not supported in module TEST.ASM

    I'm currently learning ASM and trying one of the code examples. I have no problem assembling, but when I get to linking, using TLINK32 on a computer running Windows XP with an Intel Pentium 3 processor, I get the following output: The code in test.asm is: MODEL small .STACK 64 .DATA...
  3. CppMaster

    Newbie help with first program (program crashes)

    The RET instruction seems to be working: I don't get a message saying the program caused an error. The problem this time is that I get this message when attempting to run it in turbo debugger and I when I tried running it in debugger, I simply was not able to run it: if I use the G(o) command...
  4. CppMaster

    Newbie help with first program (program crashes)

    I corrected it, but I still get the same problem. .586 .MODEL FLAT, STDCALL .DATA DATA1 DB 52H DATA2 DB 29H SUM DB ? .CODE START: MOV AL, DATA1 MOV BL, DATA2 ADD AL, BL MOV SUM, AL MOV AH, 4CH INT 21H END START
  5. CppMaster

    Newbie help with first program (program crashes)

    Hello, I have tried, using 32-bit assembly language code I found online, to write my own program. It assembled and link, but when I run it, I get a message saying the program had "encountered a problem and needs to close." It is a message that is common on Windows, asking to send a report to...
  6. CppMaster

    Book recommendation

    I had checked out the intel manuals, but I need to learn the basics (I'd at least need a basic skeleton to use with my programs), which, unless I'm mistaken (I skimmed through the first manual), which I won't find in the these manuals. Thank you for your answer and future answers.
  7. CppMaster

    Book recommendation

    A book or tutorial would be great, thank you once more.
  8. CppMaster

    Book recommendation

    Hello, I would like to learn assembly language for 32-bit computers (intel, IBM, call it wtv you like), what book(s) would you recommend me? Thank you for your answers.
  9. CppMaster

    first asm program help

    Would it be possible for you to write me a skeleton that I could use to write 32 bit programs? Thank you.
  10. CppMaster

    first asm program help

    Thanks, I'll look for NASM for 16-bit code. But I'd still like to know how I'd write it in win32 (I read an ebook by Dr. Paul Carter on win32 ASM, but he mixes it with C to make the actual program). Thank you very much.
  11. CppMaster

    first asm program help

    I'm on Windows and I tried doing compiling with MASM32.
  12. CppMaster

    first asm program help

    I started a book on assembly, but it's a bit old and I wasn't able to assemble the fist program :s. Here's the code: .MODEL SMALL .STACK 64 .DATA DATA1 DB 52H DATA2 DB 29H SUM DB ? .CODE MAIN PROC FAR MOV AL,DATA MOV...

Part and Inventory Search

Back
Top