Assembler syntax

Programming, for all ages and all languages.
alexfru
Member
Member
Posts: 1111
Joined: Tue Mar 04, 2014 5:27 am

Re: Assembler syntax

Post by alexfru »

SoLDMG wrote: Operating system development is like reinventing the wheel and making it square. Like I'm doing, and you probably too.
How's your square wheel coming along?
Square Wheel:
Image
:)
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: Assembler syntax

Post by SoLDMG »

alexfru wrote:
SoLDMG wrote: Operating system development is like reinventing the wheel and making it square. Like I'm doing, and you probably too.
How's your square wheel coming along?
Square Wheel:
Image
:)
...

Well I'll be a bat out of hell.
My post is up there, not down here.
User avatar
Wajideu
Member
Member
Posts: 153
Joined: Wed Jul 30, 2014 1:05 am

Re: Assembler syntax

Post by Wajideu »

wheels are too mainstream

User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: Assembler syntax

Post by SoLDMG »

DaemonR wrote:wheels are too mainstream

*flips hipster scarf around neck*
Sir, that is awesome. If that was an operating system it'd be Windows 9000, NT version 15.728. And it'd include the guy on the hover-thingy flying over a banana peel and then for some reason falling over, because Windows logic

Back to the point, I like to think my syntax looks really clean. Might just be owners pride though.
My post is up there, not down here.
User avatar
b.zaar
Member
Member
Posts: 294
Joined: Wed May 21, 2008 4:33 am
Location: Mars MTC +6:00
Contact:

Re: Assembler syntax

Post by b.zaar »

SoLDMG wrote:
b.zaar wrote:If you are not using the characters ; or # or // for another purpose why are you creating a new comment character?
It looks nice, I guess. And what would you want it to be? Just getting as much feedback as possible.
Changing a syntax with the rest of the instructions may suit your personal taste, but changing something this simple that everyone already knows for little or no gain seems senseless. Also on my keyboard reaching for ! (with shift) isn't as easy to reach as ; or // (without shift) when typing.

I guess I just prefer to keep things simple when they already work.
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
User avatar
Wajideu
Member
Member
Posts: 153
Joined: Wed Jul 30, 2014 1:05 am

Re: Assembler syntax

Post by Wajideu »

b.zaar wrote:Changing a syntax with the rest of the instructions may suit your personal taste, but changing something this simple that everyone already knows for little or no gain seems senseless. Also on my keyboard reaching for ! (with shift) isn't as easy to reach as ; or // (without shift) when typing.

I guess I just prefer to keep things simple when they already work.
I second this. The best reference when planning to change or alter how a person is going to do something, or introduce a new concept is to stick to the structure principle of user-interface design

Don't ever change something that works just to be different. Only change it if you have a new innovative idea to replace it, and if the way you are incorporating it won't disturb the user's workflow.
fronty
Member
Member
Posts: 188
Joined: Mon Jan 14, 2008 5:53 am
Location: Helsinki

Re: Assembler syntax

Post by fronty »

b.zaar wrote:If you are not using the characters ; or # or // for another purpose why are you creating a new comment character?
! for line comments isn't anything new except maybe on Intel platforms. If you have SPARC background, you'd just love it.
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: Assembler syntax

Post by SoLDMG »

fronty wrote:
b.zaar wrote:If you are not using the characters ; or # or // for another purpose why are you creating a new comment character?
! for line comments isn't anything new except maybe on Intel platforms. If you have SPARC background, you'd just love it.
It's also used with the as86/as386 assemblers, I've heard.
My post is up there, not down here.
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: Assembler syntax

Post by SoLDMG »

DaemonR wrote:
b.zaar wrote:Changing a syntax with the rest of the instructions may suit your personal taste, but changing something this simple that everyone already knows for little or no gain seems senseless. Also on my keyboard reaching for ! (with shift) isn't as easy to reach as ; or // (without shift) when typing.

I guess I just prefer to keep things simple when they already work.
I second this. The best reference when planning to change or alter how a person is going to do something, or introduce a new concept is to stick to the structure principle of user-interface design

Don't ever change something that works just to be different. Only change it if you have a new innovative idea to replace it, and if the way you are incorporating it won't disturb the user's workflow.
Jeff Raskin is a boss. Too bad his Canon Cat computer didn't break through like the
Macintosh did.

I've chosen to introduce the ".comment" directive. The character that is specified after it will be considered the new comment character, so in theory many people with many assembly backgrounds will be able to write or read with at least the same commenting style. Or so I hope.
My post is up there, not down here.
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: Assembler syntax

Post by Schol-R-LEA »

I suppose this is where I mention my own current assembler project...not that I've made much progress recently...
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
Post Reply