![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| hi everybody can anybody tell, how DIV instruction in 8051 affects the overflow flag? i know overflow may occur during multiplication, but how is it possible in division operation? regards ramanuja Last edited by ramanuja; 19th September 2007 at 07:12 AM. | |
| |
| | (permalink) | |
| Quote:
Hey note.. if you are using a compiler called 'keil' or 'raisonance' then overflowing may mean other thing also.. till then check page number 23 of this manual and download that also .. http://www.keil.com/dd/docs/datashts.../at_c51ism.pdf Regards, Simran..
__________________ Simran.. 8051 Specialist.. | ||
| |
| | (permalink) |
| From the 8051 Instruction Set Manual The overflow and carry flags are cleared, except if B = 0, then overflow is set and carry is cleared. Compilers have absolutely NO effect on the behavior of the hardware. It is what it is, and there is nothing you can do about it. | |
| |
| | (permalink) |
| thank you all | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| 8051 Microcontroller (Urgent Help) | UAE_Engineer | Micro Controllers | 5 | 22nd March 2007 12:13 PM |
| 8051 microcontroller McKenzie e-book | Nima.n.m | Micro Controllers | 1 | 19th October 2006 06:12 AM |
| Programming the Mini-Max 8051 microcontroller | blimon | Micro Controllers | 8 | 13th July 2005 03:42 AM |
| MT8816 with Microcontroller 8051 | dereksohail | Micro Controllers | 0 | 1st January 2005 09:03 PM |
| Programming an 8051, first time Microcontroller user... | Jezhead | Micro Controllers | 4 | 6th April 2004 12:19 AM |