Thanks so much for the help. I finally got the memory configured properly, and my programs actually work now! I am really new to this, so I did quite grasp how...
Hello, Vincent ! ... all? Well, I guess Stephane could give a far better answer than me. GCC (GNU Compiler Collection) complies to the GNU GPL. It is free to...
Hi Gary, ... instruction sei. Well, the best thing to do for such simple instructions is the use of asm. For example, for SEI, the instruction asm("sei") does...
Yep, I didn't know I had to use make and actually build the libraries, sorry for the dumb question. Thanks for the help, everything is working great now! ...
Hi, I've a problem with the stack value. I've change in memory.x => PROVIDE (_stack = 0xFF); but when a compil at all this value is unused and the stack is set...
I am trying to use the first input capture port to hold the program until it receives a falling edge from the IC1 port. However, this program is only working...
... To configure Input Capture, you have to write in TCTL2 (TimerConTroL) 0x1021 For TIC1 falling edge, write: xx10xxxx = 0x20 In TFLG1 (Timer flags), you read...
Jean-Paul
aslarorb@...
Mar 4, 2003 8:10 am
2583
Hi guys, another request. Can anyone point me to a list of the instruction set in Excel or at least one that is listed in Opcode order rather than Mnemonic...
A very good thing to do with the instruction set is to make a 16 X 16 table, label the horizontal axis 0 to F (Hex) and the vertical axis 0 to F (Hex). The...
McCarthy, Calvin
mccarcb@...
Mar 5, 2003 1:26 pm
2585
I have installed the gnu chain and have used it to compile several programs for my 912dp256 board. It's in c:\usr I recently downloaded and built the GEL...
Hi, One good thing to do would be forget Excel and replace it with Gnumeric One other good thing to do would be fetch on the web the m68hc11rm.rev3.0.pdf...
Jean-Paul
aslarorb@...
Mar 5, 2003 9:14 pm
2587
ANNOUNCEMENT........... For those interested, there is a new version of 68HC11 objallocate for Windows and Linux. This release corresponds to 68HC11 GCC...
I am starting from ground 0 with gcc and the 68hc11 so please bear with me. Three questions: 1) Certain registers need to be modified within 60 clock cycles,...
Hi, I am having trouble getting serial_print to work while using Buffalo Monitor. My program compiles with no problems, but serial_print("test") results in no...
Hi, I am trying to use labels so that I can point to a string stored in memory with X. This is how I made my code: __asm__ __volatile__( "TEST: FCC \'TEST...
Hi! ... Indeed! - You load the two first bytes of your string. - The FCC directive is not understood (except when you use the assembler --mri option) Your asm...
Hi! ... The serial_print() does not use the SCI/SPI vectors. It's a polling implementation (for simplicity of the examples). Check the serial speed. Have a...
Hi! ... You can provide a __premain function. It is called very early in the startup. You can write it in C or asm. You can declare it as follows: void...
Hi! ... The 'bin' directory is populated only by 'make install'. The 'lib' directory is populated during the build. ... Be sure to use the Mingw32 host tools...
Hi! ... Controlling interrupt/processor's specific flags is not part of any language like ANSI C/C++/Ada. ... You must handle the interrupt yourself. No magic...
Thanks for the replies. The problem came from a conflict with Eric's settings and my configuration. But I now have them compiled. I still have yet to...
I am having trouble using my converted value from the A/D port. In my program I read port e 0-3 and only use port e 0. I take the value and convert it to hex...
... Your compare will fail because you try to compare a pointer(you use s as string) with a char. And the typecast (char)s will give you the first byte of the...
... Hi Stephane, Thanks for all your advice... it has been very useful. I am still confused about this vector table. I understand that the address of the...