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 > Non-x86 architectures > if I made an oisc cpu

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 570
if I made an oisc cpu
Will it show a column of same words in the left?how to make a compiler easier[/quote]
Post 12 Feb 2015, 08:44
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14494
Location: WTC Building 7
You would only need to express the arguments since the opcode can be implied.
Post 12 Feb 2015, 08:52
View user's profile Send private message Visit poster's website Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 570

revolution wrote:
You would only need to express the arguments since the opcode can be implied.


you mean I write

Code:

add1,8
add2,7
p0,addr



?though = is better in this case
Post 12 Feb 2015, 10:09
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14494
Location: WTC Building 7
It is up to you how you want to express things. You could even write C code and compile it down to OISC code if you wanted to.
Post 12 Feb 2015, 10:15
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.