Find Jobs
Hire Freelancers

Writing an Exception/Interrupt Handler

$10-30 USD

Dibatalkan
Dibuat sekitar 6 tahun yang lalu

$10-30 USD

Dibayar ketika dikirim
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.
ID Proyek: 16760082

Tentang proyek

2 proposal
Proyek remot
Aktif 6 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
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 dalam 7 hari
0,0 (2 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
Kearny, United States
0,0
0
Memverifikasi Metode pembayaran
Anggota sejak Apr 23, 2018

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.