Find Jobs
Hire Freelancers

Writing an Exception/Interrupt Handler

$10-30 USD

Cancelled
Posted almost 6 years ago

$10-30 USD

Paid on delivery
Write an "Assembly handler" and a correspodning "C handler." Try to follow the steps below and also the ones discussed in class yesterday: Obtain the IDT table address using inline assembly. See store_idt()/load_idt() for loading and storing the IDT base address. Replace the high and low address of IDT entry n with the new high/low address, where n is an exception number. The new high and low address that would go into the IDT entry will be defined by your own assembly handler. Write your own assembly handler. Use this handler address as the new high & low in IDT. Your assembly handler will call your own C handler. Your C handler will print or do something to indicate that your C handler is activated. Your C handler will terminate normally and return to your assembly handler. Upon returning from your C handler, your assembly handler will jump to the original asm handler. Find the original C handler address from System.map. The following statments in your application will generate a "divide error" exception with the message "Floating point exception." int i=1, j=0; printf("%d",i/j); Make sure to include some print statements to indicate that the handler is activated. Include your name and the nature of the exception/interrupt along with the condition(s) that triggered the event if possible. The above example is one of many possibilities. Check the web for more references and try several different techniques if your time allows.
Project ID: 16760082

About the project

2 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi !! Nice to E-meet you We are a talented CI Programming Developer looking to be hired. we have experience working as a Codeigniter Developer. I am also experienced in eCommerce. My other skills include wordpress......... We are ready to work on your projects to [login to view URL] provide fast and reliable support at short notice as we are able to respond to the client's requirements at short notice. Our Features of Work: * Best quality * Error Free * 2 week free after-sales support * Lifetime User Support * [login to view URL] of our previous projects:[login to view URL],[login to view URL],[login to view URL] We are associate with Mythbay Web.......Thanking you !! Skills: Assembly, C Programming, Linux, x86/x64 Assembler
$45 USD in 7 days
0.0 (2 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Kearny, United States
0.0
0
Payment method verified
Member since Apr 23, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.