:: مهندس ::
تاريخ التسجيل: Dec 2005
المشاركات: 2
|
|
نشاط [ بنت الحاسب ]
قوة السمعة:0
|
|
15-12-2005, 04:34 PM
المشاركة 4
|
|
السلااااااااااااااام عليكم ورحمه الله وبركاته
كيفك عزيزتي اسماء انا قريت موضوعك عجبني مرررررررره
وانا عن جد ضايعه في بحث عن المعالج يتعلق موضوعه بInterrupt
وانا عندي كلام كثير عنه بس المشكله بالانجليزي
7
7
7
7
7Interrupts
Interrupts can be seen as a number of functions. These functions make the programming much easier, instead of writing a code to print a character you can simply call the interrupt and it will do everything for you. There are also interrupt functions that work with disk drive and other hardware. We call such functions software interrupts.
Interrupts are also triggered by different hardware, these are called hardware interrupts. Currently we are interested in software interrupts only.
To make a software interrupt there is an INT instruction, it has very simple syntax:
INT value
Where value can be a number between 0 to 255 (or 0 to 0FFh),
generally we will use hexadecimal numbers.
You may think that there are only 256 functions, but that is not correct. Each interrupt may have sub-functions.
To specify a sub-function AH register should be set before calling interrupt.
Each interrupt may have up to 256 sub-functions (so we get 256 * 256 = 65536 functions). In general AH register is used, but sometimes other registers maybe in use. Generally other registers are used to pass parameters and data to sub-function.
The following example uses INT 10h sub-function 0Eh to type a "Hello!" message. This functions displays a character on the screen, advancing the cursor and scrolling the screen as necessary.
بس المشكله مو فاهمته
ابي اذا كان عندك مواقع او تقدرين تفيديني عن اي شيء يتعلق بهالموضوع ومن حيث اوامره او عن اوامر المقاطعه اللي هي Interrupts
تفيديني فيها اذا ممكن عزيزتي لان بحثي اخر موعد تسليم يوم الاربعااااااااااااااء وانا عندي امتحانات عملي واحس ضغط وياليت تقدرين تساعديني واكون شاكره لك
تحيااااااتي ............اختك في الله بنت الحاسب
|