Find Jobs
Hire Freelancers

Assembly Language LC-3 Project

$10-30 USD

Selesai
Dibuat lebih dari 5 tahun yang lalu

$10-30 USD

Dibayar ketika dikirim
Specifics: ?? Your task is to, first, determine if the value store in memory location x3030 is even or odd. You are to store x0001 in memory location x3031 if it is odd, x0000 if it is even. ?? Next, your program will count the number of 1s in the value at memory location x3030 and store that count in memory location x3032. ?? Your program can use the LC-3 register file and memory address space. You cannot overwrite the original value in memory location x3030. ?? Your code must be well-commented. Follow the commenting style of the code examples provided in class and in the textbook. ?? Your program must be written in LC-3 Machine Language and originate at x3000. Example: The following is a snapshot of memory locations x3030 through x3032 after the calculations described above have been performed. The value at x3030 in an input and the values in x3031 and x3032 are outputs. Testing: You should test your program thoroughly before handing in your final version. Developing a good testing methodology is essential for being a good programmer. For this assignment, you should run your program several times for different values in memory location x3030 (you can do this using the simulator) and checking the output by hand. Tools: You will need to use the LC-3 simulator (either on Unix or on Windows, whichever you prefer) in order to execute and test the program you write for this MP. You might also need to use a text editor (vi, emacs, pico, etc) in order to enter your machine language program. Please take a look screenshot attached for more info.
ID Proyek: 18079351

Tentang proyek

3 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, I'm Ganapathy, I have written lots of assembly programs in MIPS, ARM, AVR, 8051, Intel, etc, I can help you finish this project in no time, for more information Contact me Thank you
$23 USD dalam 1 hari
4,9 (33 ulasan)
4,7
4,7
3 freelancer menawar dengan rata-rata $32 USD untuk pekerjaan ini
Avatar Pengguna
.ORIG x3000 LEA R0, x2F LDR R1, R0, x0 AND R2, R1, x1 STR R2, R0, x1 LD R3, zero LD R4, one L2 AND R2, R1, R4 BRz L3 ADD R3, R3, x1 L3 ADD R4, R4, R4 BRnp L2 STR R3, R0, x2 HALT zero .FILL x0 one .FILL x1 .END
$23 USD dalam 1 hari
4,6 (2 ulasan)
2,1
2,1

Tentang klien

Bendera UNITED STATES
Piscataway, United States
5,0
2
Memverifikasi Metode pembayaran
Anggota sejak Mar 27, 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.