Open venkateshv6 opened 9 years ago
Okay, this is embarrassing. There is a small bug relating to AJMP and ACALL instructions in Rift. It will take sometime for me to correct them. Thanks for reporting the bug. Also, can you confirm that the last bug is fixed?
When you correct this bug. Iam waiting .
I will need another week to look into this. Thanks for being patient.
On Sun, Mar 29, 2015 at 6:30 PM, venkateshv6 notifications@github.com wrote:
When you correct this bug. Iam waiting .
— Reply to this email directly or view it on GitHub https://github.com/vivekannan/Rift/issues/2#issuecomment-87409678.
Latest commit has the fix. Thanks for being patient.
COMPILE ERROR:
My code is . ORG 00 MOV A,#89H END
Error message is Directive.gr: : 1 : Class for directive not defined.
Do something Pls, and thank you.
Your code is assembled perfectly on my machine. I think the problem is due to some minor mistake on your end. The error message itself is not complete. The error prone line should be printed after the "Directive.gr: : 1 : Class for directive not defined. " line. Maybe your directive.gr file is empty?
I suggest that you completely delete your local repository (except your codes) and clone the repo (or download it as zip) and compile it freshly. That should solve the issue.
Thanks again for helping me get rid of the buggy bugs. May I ask what you are currently doing with Rift?
Output of your code:
1 ORG 00
2 0000 7489 MOV A,#89H
3 END
Yes I forgot to mention error prone line This is the error Directive.gr:: 1 : Class for directive not difined. END Java Result -8
And I tried as you said create new project. download rift.zip and add my project Change the path of the files, add gr and txt files to that folder and compile the same error comes out. I tried this netbeens and android studio .
I try to make android 8051 emulater . Iam Sorry for my reputed bugs, and poor English
And Thank you for your fast answers Thank you
Based on what you have said, I think the Directives.java file is not being compiled. Can you confirm if the file END.class exists in your working folder?
Maybe NetBeans\Android Studio isn't compiling all the .java files. Try compiling all the files using cmd or terminal. One thing that is for certain is that this issue is entirely on your side.
First many thanks for create this and last response about checksum. This is mcu51 ide created lst file {untitled PAGE 1 1 org 00h 0000 7467 2 mov a,#67h 0002 0105 3 ajmp go 0004 04 4 inc a 0005 04 5 go: inc a 6 7 8 end}
{untitled PAGE 1 1 org 00h 0000 7467 2 mov a,#67h 0002 1105 3 acall go 0004 04 4 inc a 0005 04 5 go: inc a 6 7 8 end}
but your Rift created this file
{1 0000 7467 mov a,#67h 2 0002 010101 ajmp go 3 0004 04 INC a 4 0005 04 go: INC a } {1 0000 7467 mov a,#67h 2 0002 111101 acall go 3 0004 04 INC a 4 0005 04 go: INC a } what about jump and call instructions code, which is currect i'am confused pls help me