| ??? 08/05/04 21:04 Read: times |
#75505 - RE: Memory mapped I/O hassle Responding to: ???'s previous message |
Hello Rob,
It would appear Mr. Anders Sandström is correct in his statement. I took Raghunathan example program and compiled it with asem.exe It failed with the 10HPMOTOR: DBIT 1 line. I changed the line to MOTOR10Hp: DBIT 1 and it compiled successfully. See below for samples. Regards, Charles Bannister
================================================
DSEG AT 20H
IOBYTE_1: DS 1
BSEG AT 20H
10HPMOTOR: DBIT 1 ;;<========ERROR========
SOL_LOAD: DBIT 1
SOL_REV: DBIT 1
END
================================================
MCS-51 Family Macro Assembler ASEM-51 V1.3
asemtest.asm(12): illegal constant
1 error detected
================================================
DSEG AT 20H
IOBYTE_1: DS 1
BSEG AT 20H
MOTOR10Hp: DBIT 1 ;;<========NO ERROR=====
SOL_LOAD: DBIT 1
SOL_REV: DBIT 1
END
=================================================
MCS-51 Family Macro Assembler ASEM-51 V1.3
no errors
=================================================
Hex Listing of successful compiled file using asem.exe
:00000001FF
|
| Topic | Author | Date |
| Memory mapped I/O hassle | 01/01/70 00:00 | |
| RE: Memory mapped I/O hassle | 01/01/70 00:00 | |
| Problem defenition - Erik | 01/01/70 00:00 | |
| RE: Memory mapped I/O hassle | 01/01/70 00:00 | |
| Automatic up I/O update - Russell | 01/01/70 00:00 | |
| RE: Memory mapped I/O hassle | 01/01/70 00:00 | |
| RE: Memory mapped I/O hassle | 01/01/70 00:00 | |
| RE: Memory mapped I/O hassle | 01/01/70 00:00 | |
| RE: Memory mapped I/O hassle | 01/01/70 00:00 | |
| RE: Memory mapped I/O hassle | 01/01/70 00:00 | |
| Syntax - Anders, Rob, Charles | 01/01/70 00:00 | |
| RE: Syntax - Anders, Rob, Charles | 01/01/70 00:00 | |
| Problem solved - Russell | 01/01/70 00:00 | |
| RE: Syntax - Anders, Rob, Charles | 01/01/70 00:00 | |
| RE: Syntax - Anders, Rob, Charles | 01/01/70 00:00 | |
| RE: Memory mapped I/O hassle | 01/01/70 00:00 | |
Thread can close happily | 01/01/70 00:00 |



