|Date Added:||19 July 2007|
|File Size:||24.6 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Regarding being clear regarding the output, I expected you to modify the question rather than comment on it. It can be useful in applications where stack usage is very high, meaning that data needs to be off-chip. Fast access data arrays and structures of limited size up to around 32 bytes each but not totalling more than 64 or so bytes.
I believe that ona port is configured as an input by writing zero to it, which allows it to be asserted externally.
Keil C51 Compiler Basics
Keith Thompson Keith Thompson k 28 28 gold badges silver badges bronze badges. When the cpu intends to access D: The compact model is rarely used on its own but more usually in combination with the SMALL switch reserved for interrupt routines.
Medium speed interrupt ieil fast background char 8 bit variables and moderate-sized arrays and structures. There’s more to it than that; see Clifford’s answer.
Above 80H the special function registers are located, which are again directly addressable. The ability to apparently change the value of X when it is clmpiler pulled high, I am guessing is in the nature of the GPIO hardware rather than any strange behaviour of f51 Suitable for programs where, for example, the on-chip memory is applied to an operating system.
Sign up or log in Sign up using Google. It is useful in that it can be both accessed byte-wise by the normal MOV instructions and addressed by special copmiler intructions, as shown below:. When linking, L51 finds that it has two putchars etc.
The obvious question is: The most basic decision to be made is which memory model to use.
In Keil C51, to quote the manual:. How do we handle problem users? Also, background code that is frequently run and has many parameters to pass. Also good for variables which need to be viewed in real time using an emulator. Will support code sizes up to about 4K but a constant check must be kept ksil stack usage.
The compiler has no information about Port 2 and unless the user has explicitly set it to a value it will be compilr, although generally it will be at 0xff.
Subscribe to RSS
It typically runs from C: Unicorn Meta Zoo 9: Pratically, I was thinking that! Just to be clear, it might be helpful to describe the expected output when the input is low, since on analysis I think it is behaving correctly i. Post as a guest Name.