|
Reading from 38000 in assembler: msg#00712hardware.microcontrollers.tini
Hi, i just tried to write some code in assembler. Compiling and executing the code from the JAVA file workes fine, but i didn't get the correct result. this is the working code in java keyPort = new com.dalsemi.system.DataPort(0x380000); keyPort.setFIFOMode( true ); keyPort.setStretchCycles(DataPort.STRETCH10); keyPort.read() and the not working code in assembler code : (allways getting 249) readKey: WOS_DISABLE_INTERRUPTS TIMEDACCESS ANL MCON,#11110000B orl CKCON, #00000111b mov dptr, #380000h movx a, @dptr TIMEDACCESS orl mcon,#00001111B WOS_ENABLE_INTERRUPTS mov R0, a clr a mov R1, a mov R2, a mov R3, a ret _______________________________________________ TINI mailing list TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: RE: Another post from the same guy about 400 support.: 00712, Mark Purcell [MAP] |
|---|---|
| Next by Date: | Winnie (for TINI): 00712, Kelly Smith |
| Previous by Thread: | Textpad is all I need for Java codei: 00712, mb |
| Next by Thread: | Re: Reading from 38000 in assembler: 00712, Thomas Chenot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |