Share

The Netwide Assembler

Subscribe

Mixing nasm and quick basic

You are viewing a single message from this topic. View all messages.

  1. 2009-10-26 15:13:02 UTC

    No enlightenment on BASIC, but the trick for "pre /pre" is the fifth hieroglyph above. Looks like 101/010 on two lines in my browser. Control-k to make it stop. Should have mentioned that after my test. :)

    Lemme try it again...

    -u 1,23
    

    0D87:0001 BA2810 MOV DX,1028 0D87:0004 8EDA MOV DS,DX 0D87:0006 8CD3 MOV BX,SS 0D87:0008 2BDA SUB BX,DX 0D87:000A D1E3 SHL BX,1 0D87:000C D1E3 SHL BX,1 0D87:000E D1E3 SHL BX,1 0D87:0010 D1E3 SHL BX,1 0D87:0012 FA CLI 0D87:0013 8ED2 MOV SS,DX 0D87:0015 03E3 ADD SP,BX 0D87:0017 FB STI 0D87:0018 B81A00 MOV AX,001A 0D87:001B 50 PUSH AX 0D87:001C 9ACA1D890D CALL 0D89:1DCA 0D87:0021 B44C MOV AH,4C 0D87:0023 CD21 INT 21 -q

    That's your working Masm code from above. Look better? we shall see... Looks like it didn't work. :( Back to the drawing board...

    I suspect you're right that the ".model medium, basic" is the key to it, but I can't see what it's doing that Nasm isn't.

    The NASMX project has a nice forum... and some Masm users there, too. I'll ask...

    Best, Frank

< Previous | 1 | Next >

Add a Reply

You can use Markdown syntax in your reply.

Preview

Monitor this

Log in to monitor this topic. Not registered? Create an account to receive email updates when replies are posted to this topic. If you do not log in or register, your reply will be added anonymously.