flat assembler
Message board for the users of flat assembler.

Index > Non-x86 architectures > if I made an oisc cpu

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 12 Feb 2015, 08:44
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: 20430
Location: In your JS exploiting you and your system
revolution 12 Feb 2015, 08:52
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: 674
l4m2 12 Feb 2015, 10:09
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: 20430
Location: In your JS exploiting you and your system
revolution 12 Feb 2015, 10:15
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


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.