flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Compiler Internals > push/pop instruction arguments

Author
Thread Post new topic Reply to topic
CandyMan



Joined: 04 Sep 2009
Posts: 232
Location: film "CandyMan" directed through Bernard Rose
push/pop instruction arguments
why push/pop instructions arguments can not be separated by comma, but only by space?

Code:
push ax ebx word [0x1234]
pop edx,ecx,eax


_________________
smaller is better
Post 10 Nov 2017, 21:04
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 15301
Location: Bigweld Industries
It's an extension to the "real" push/pop instruction so there is no official method for multiple arguments. It also allows the arguments in the uses clause to be placed directly in push (but not pop).

Anyhow it is a hangover from other assemblers so it became kind of "standard" syntax.
Post 11 Nov 2017, 02:12
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.