Find Jobs
Hire Freelancers

y86 emulator

$10-30 USD

ถูกยกเลิก
โพสต์ มากกว่า 6 ปีที่ผ่านมา

$10-30 USD

ชำระเงินเมื่อส่งงาน
Your emulator should read in a text file that contains only the opcode bytes representing the program. The file will be plain ASCII text file representing the bytes in either lower or uppercase (expect to see "30f4b8" or "30F4B8"). You can assume the file contains no spaces or line breaks, only characters representing the program's bytes. Your emulator should verify the input from one of my test programs is valid. Use the test program in Chapter 4 of CS:APP (attached) to create a test program of your own. Some others can be found online (the authors of that book have a number of them). Load the program into memory starting from the first byte of memory (memory address 0). Your emulator should run the program completely and output the final state of the registers, the program counter, and the condition flags. The y86 architecture contains a memory region containing 2000 bytes, 8 program registers, three condition codes (OF, ZF, and SF), a program counter. Each read and write to memory or to the registers writes out a full 4-byte word. The 8 registers, are the same as the 32-bit x86 architecture (see the register numbering in the attached slides). Programs that run on your emulator will typically implement their own stack to make function calls, which will be set up by pointing the stack pointer and base pointer (EBP and ESP) to the location where the stack should begin (somewhere in higher-addressed memory). The stack will be used for the pushl, popl, call, and ret instructions which implement procedure / function calls. You will need to implement logic to fetch, decode, execute, update_memory, update_registers, and update_program_counter. All of the instructions you will need to be able to decode, fetch, and execute for are listed below. See the attached materials for the specific format and opcodes of each instruction. In cases in which there is a conflict between the specification in the attached materials (they have a few differences), use the CS:APP chapter 4 as the deciding reference. Opcodes for each instruction are variable-length from 1 to 6 bytes. Ensure you complete your own work and comment your code well. All other previous project submission instructions apply. Have fun!
รหัสโปรเจกต์: 15755498

เกี่ยวกับโปรเจกต์

1 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 6 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
1 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย $61 USD สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
Let’s chat and discuss about price and work. 12 years experience in same filed you will get 100% correct work. No need to pay upfront money first check work quality and if you satisfied then pay. Relevant Skills and Experience 12 years experience Proposed Milestones $20 USD - I will complete your work as per the guidelines and will deliver you according to time deadline.
$61 USD ใน 1 วัน
0.0 (0 รีวิว)
0.0
0.0

เกี่ยวกับลูกค้า

ปักธงของ UNITED STATES
Beavercreek, United States
5.0
1
ยืนยันวิธีการชำระเงินแล้ว
เป็นสมาชิกตั้งแต่ ธ.ค. 9, 2016

การยืนยันลูกค้า

งานอื่นๆ จากลูกค้ารายนี้

hash table
$10-30 USD
paging algorithms
$10-30 USD
ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง