??? 05/25/08 17:03 Read: times |
#155097 - without extrn&public Responding to: ???'s previous message |
just an example which work without extrn&public directive
In that project which doesn't work, I found that if i change config file which contain only declarations of bits,bytes and other statements in memory with a simple one it works mainfile $include(D:\asm\config.inc) $include(D:\asm\filemacro.asm) org 00h ajmp start org 100h start: nop memorie jmpbit,#lkup nop jmp start end config.inc JmpBit bit 20h.0 cseg at 200h LkUp: db 0fah,00h,05h,043h,0f0h filemacro.asm memorie macro first,second local again local mut again: jb first,mut mov a,#00h mov dptr,second mut: clr a movc a,@a+dptr mov sbuf,a inc dptr setb first cjne a,#0f0h,again endm Another question is if it is possible to do this, i haven't found in documentation, but when I tried, the assembler allow me to work with Ad0, I'm thinking to not be from here. Thanks everybody for answers and sorry for this long post P0.0 BIT 080H.0 Ad0 EQU P0.0 |
Topic | Author | Date |
Multifile macro | 01/01/70 00:00 | |
which assembler? show example. | 01/01/70 00:00 | |
example | 01/01/70 00:00 | |
Standard technique... | 01/01/70 00:00 | |
Which assembler, version and author ? | 01/01/70 00:00 | |
it doesn't work | 01/01/70 00:00 | |
i forgot the error | 01/01/70 00:00 | |
Not an assembler error | 01/01/70 00:00 | |
i think i miss something | 01/01/70 00:00 | |
long filename | 01/01/70 00:00 | |
define macro in .h file | 01/01/70 00:00 | |
That would depend | 01/01/70 00:00 | |
different | 01/01/70 00:00 | |
External Labels | 01/01/70 00:00 | |
i thought of it | 01/01/70 00:00 | |
show the one that works ans the one that do not | 01/01/70 00:00 | |
without extrn&public | 01/01/70 00:00 | |
strange assembler/linker | 01/01/70 00:00 | |
MISTAKEN | 01/01/70 00:00 | |
bellow | 01/01/70 00:00 | |
yes, for those that do not understand | 01/01/70 00:00 | |
IDE | 01/01/70 00:00 | |
anyone know this one? | 01/01/70 00:00 | |
Something doesn't stack up here... | 01/01/70 00:00 | |
Honesty | 01/01/70 00:00 | |
Suspiciously like Keil A51 | 01/01/70 00:00 | |
so does Raisonance![]() | 01/01/70 00:00 |