x86 Assembly

Moderators: None (Apply to moderate this forum)
Number of threads: 4563
Number of posts: 16029

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Looking for a compiler Posted by Ptr_082004 on 4 Jan 2005 at 5:15 PM
i got started in asm on an Hp49g and Masd (the compiler on it) used a different syntax.

i.e.
ax=bx instead of mov ax, bx
ax+123 instead of add ax, 0beefh ( ax+123 is short for ax=ax+123)
?ax=56 instead of cmp ax, 56

Does anyone know of a x86 compiler that allows that syntax? As you can see it's much shorter and more understandable ( statments instead of commands allow you know that ax=123 rather than figuring out that ax will equal 123 after a 'mov ax, 123' command

Thanks



Report
Re: Looking for a compiler Posted by shaolin007 on 5 Jan 2005 at 6:51 AM
: i got started in asm on an Hp49g and Masd (the compiler on it) used a different syntax.
:
: i.e.
: ax=bx instead of mov ax, bx
: ax+123 instead of add ax, 0beefh ( ax+123 is short for ax=ax+123)
: ?ax=56 instead of cmp ax, 56
:
: Does anyone know of a x86 compiler that allows that syntax? As you can see it's much shorter and more understandable ( statments instead of commands allow you know that ax=123 rather than figuring out that ax will equal 123 after a 'mov ax, 123' command
:
: Thanks
:

To me the Intel syntax is easy to follow, but then again it is the 1st syntax I actually learned.


movb $20, %ax

This would seem easier for some people even though I don't prefer the AT&T style syntax.



As to your question, I don't know of any x86 assembler with that type of syntax.


Report
Re: Looking for a compiler Posted by Ptr_082004 on 10 Jan 2005 at 5:30 PM
Never mind, I just finished some code that would translate from the Hp 49g syntax to normal intel

Thanks

Report
Re: Looking for a COMPILER Posted by Johnny13 on 16 Jan 2005 at 6:00 AM
: : Does anyone know of a x86 compiler that allows that syntax? As you can see it's much shorter and more understandable ( statments instead of commands allow you know that ax=123 rather than figuring out that ax will equal 123 after a 'mov ax, 123' command
: :
: : Thanks
: :
:
: To me the Intel syntax is easy to follow, but then again it is the 1st syntax I actually learned.
:
: As to your question, I don't know of any x86 assembler with that type of syntax.


According to CodePedia...
A compiler convert high level source code to binary executables.
An assembler convert low level mnemonic statements to binary executables which produce faster code.


"this is the x86 assembly board and not C. My C is very rusty and I haven't programmed in C in more than a year or two." http://pheaven.com/c/MsgBoard/read.asp?Board=1&MsgID=277462



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.