Hi Mr.Lorquet, Randy,
Thanks a lot for the reply to my query on SDCC binary.
The ROM which I use expects a hex file not a binary(sorry i called it binary)
I get a .hex file when I use packihx utility.
I am attaching the 2 files.You may have a look at it and suggest me something.
.dua file is what rom expects and .hex is what I have generated.
I am also sending you test.c
I just do sdcc test.c and then packihx, thats it....
Awaiting early reply,
Prateek
:03000000020008F3
:0300610002000397
:0500030012006480FE04
:100064007512EF75130075148090000875F0400246
:02007400007614
:0800EF0074657374696E67000B
:1000760085821585831685F017AD12AE13AF14A8C9
:1000860015A916AA178D828E838FF01200CFFBA3B7
:10009600AD82AE83888289838AF0EB1200B6A3A86C
:1000A60082A983EB70DF8515828516838517F0227A
:06003700E478FFF6D8FD9D
:100015007900E94400601B7A009000F7780075A02C
:1000250000E493F2A308B8000205A0D9F4DAF2754A
:02003500A0FF2A
:1000B60020F71030F6118883A88220F507F6A8836A
:0900C60075830022F280F7F0229C
:10003D007800E84400600A790075A000E4F309D85F
:10004D00FC7800E84400600C7900900000E4F0A317
:04005D00D8FCD9FAF8
:0D0008007581171200EBE582600302000312
:1000CF0020F71430F6148883A88220F507E6A8835A
:1000DF0075830022E280F7E49322E02275820022EA
:00000001FF
00000010
00000000
00100110
00000010
00000001
10011100
00000000
00000000
00000000
00000000
00000000
00000010
00000001
10011101
00000000
00000000
00000000
00000000
00000000
00000010
00000001
10100110
00000000
00000000
00000000
00000000
00000000
00000010
00000001
10100111
00000000
00000000
00000000
00000000
00000000
00000010
00000001
10101000
01110101
10101010
00000000
01110101
10111010
00000000
01110101
10011101
00000000
01110101
10000001
01110000
01110101
10001001
00100010
01110101
10001100
11110000
01110101
10001010
11110000
01110101
10111000
00000000
01110101
10101000
10000010
01110101
10001000
00010000
01110100
01010110
11110101
00100000
01110101
01010110
10101010
11111001
11100111
10000111
00100001
00100111
11110101
00100010
10010111
10010100
00010000
10011001
10010101
00100000
11110101
00100011
00010100
00110100
00100011
00100100
11111111
00110111
00101001
00110101
00100010
00100101
00100011
00111001
00000100
11110101
00100100
11100100
11110101
00100101
00001000
10001000
00100110
00000101
01010110
00000111
10000111
00100111
00011100
10001100
00101000
00010101
00100011
00010111
10010000
00010010
00110100
10100011
11100101
00100000
10001001
11110000
10100100
11110101
00101001
10000101
11110000
00101010
00000101
11110000
10000100
11110101
00101011
10000101
11110000
00101100
00100100
01010110
11010100
11110101
00101101
01011001
01010100
11111110
11110101
00101110
01001001
01010111
11110101
00101111
01000010
00110000
01110101
00110001
10101010
01010010
00110001
01010101
00110001
01000100
01000101
11110101
00110010
01010011
11100000
11111111
11110101
00110011
01000101
00100000
01000111
11110101
00110100
01000011
00110100
11111111
01101100
01100101
00100001
11110101
00110101
01100111
01100100
00110100
11110101
00110110
11010010
11010100
01111101
10010110
01100011
00010101
11101000
01100010
00010101
11000010
11010100
11110100
00100011
11010011
00010011
11000011
00110011
00100011
11000100
11110101
00110111
10100111
00010101
10000111
00111000
01110111
10001000
10000111
00111001
01110101
10000001
01110000
11000000
00100000
11010000
00111010
11001101
11000101
00111011
11000111
11110101
00111011
11010111
11110101
00111100
10110011
10010010
00100000
10110010
00100000
10000010
00110001
01110010
00110010
01000000
00000011
01110101
00111101
11111111
10110000
01000101
10100000
01000100
01010000
00000011
01110101
00111110
11111111
10100010
00110100
10010010
00110101
00100000
00110101
00000011
01110101
00111111
11111111
00110000
00110101
00000011
01110101
01000000
11111111
00010000
00110110
00000011
01110101
01000001
11111111
00110001
00100011
01110101
01000010
10001000
00100001
00100100
00100010
00010010
00000001
00101101
01110101
01000011
10011000
00000010
00000001
00101110
00100010
01110000
00000011
01110101
01000100
11111111
01100000
00000011
01110101
01000101
11111111
01111100
00000000
11011100
00000011
01110101
01000110
11111111
11010101
00000100
00000011
01110101
01000111
11111111
01110100
11111111
10110101
00000100
00000011
01110101
01001000
11111111
10000101
11010000
01001001
10110100
11111111
00000011
01110101
01001010
11111111
10000101
11010000
01001011
10111100
11111111
00000011
01110101
01001100
11111111
10000101
11010000
01001101
10110111
10011000
00000011
01110101
01001110
11111111
10000101
11010000
01001111
00000000
10000000
00000011
01110101
01001100
11111111
01110100
01010100
11110011
11110000
11100100
11100011
11110101
01010000
11100100
11100000
11110101
01010001
11101100
11110101
01010010
10010000
11111111
11111111
10100011
10000101
10000010
01010011
10000101
10000011
01010100
11100111
11110101
01010101
01110100
00000001
10000011
11110101
01010110
11100101
00110000
10010011
11110101
01010111
00000011
11110101
01011000
10000000
00001101
00110010
11000010
10001100
01110101
10101000
00001010
01110101
10001010
11001100
00110010
00110010
00110010
00110010
10000000
11111110
#include <string.h>
char str1[10];
void main(void)
{
strcpy(str1, "testing");
}
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user