Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

8051 - The CNJE instruction with Registers make the simulation stop

2 posters

Go to page : Previous  1, 2, 3

Go down  Message [Page 3 of 3]

arcachofo

arcachofo

Try command ASEMW instead of ASEM.
And don't use option "-v".

Note that this software works differently in Linux and Windows.

I think you can try this in asem51.xml:
Code:
<compiler name="Asem-51" type="asm01" syntax="i51asm">
    <step
        command="asemw"
        arguments=" $filePath"
    />
</compiler>

diego_souza



Thanks for the suggestion!

Here's the result. Seems better than the previous try! However, the hex file hasn't been generated yet.

I wonder if there's another parameter needed.

8051 - The CNJE instruction with Registers make the simulation stop - Page 3 New_te10

arcachofo

arcachofo

Try this:

Code:
<compiler name="Asem-51" type="asm01" syntax="i51asm">
    <step
        command="asemw"
        arguments=" $fileName.asm"
    />
</compiler>

diego_souza



I finnaly found the problem.

It works with backslashes, not forward slash!

I wonder which command I should use in the xml so it uses backslashes.

Here's a pic, with the right command in my prompt and the wrong in the SimulIDE terminal.

8051 - The CNJE instruction with Registers make the simulation stop - Page 3 New_te11

arcachofo

arcachofo

Have a look at the previous message...

diego_souza



It worked! This is great!!!!

Thanks!

I cannot think in any other 8051 errors in v1.0.0 !

8051 - The CNJE instruction with Registers make the simulation stop - Page 3 New_te12

arcachofo likes this post

diego_souza



Hi,

Here's another suggestion:

Add an ADC component with the RD, WR, CS and INTR pins so it can be demonstrated with 8051. The DAC options already are like this.

For now I'm testing an ADC code simulating theses controls.

8051 - The CNJE instruction with Registers make the simulation stop - Page 3 Adc_8010

This is an example:

8051 - The CNJE instruction with Registers make the simulation stop - Page 3 Interf10

arcachofo

arcachofo

Add an ADC component with the RD, WR, CS and INTR pins so it can be demonstrated with 8051.
There is no plan to add specific ADC chips, but you probably can do it with a subcircuit.

The DAC options already are like this.
There are some DAC models, but those are subcircuits.

Sponsored content



Back to top  Message [Page 3 of 3]

Go to page : Previous  1, 2, 3

Permissions in this forum:
You cannot reply to topics in this forum