Computers and Technology

Write an assembly program called editDist. s that calculates the edit distance between 2 strings. You should translate the C code editDist. c, provided in the starter code, to create your solution. An explanation of what edit distance is can be found here while accompanying pseudo code can be found here.1. The label for the first string should be string1 and the label for the second string should be string2.2. The edit distance between string1 and string2 should be placed in EAX.3. For each string please allocate space for 100 bytes.1. While you must allocate space for 100 bytes in your final submission you will likely find it easier to work with the .string directive for testing and debugging.4. AFTER the last line of code that you wish to be executed in your program please pace the label done.1. Make sure that there is an instruction after the done line and a new line after that instruction. If you don't your output won't match mine.5. I have included a C implementation of the edit distance program. I highly recommend translating this solution into assembly as it will make your life much easier.1. As a note remember that constants cannot be swapped. Pay careful attention to this in your solution2. Use subroutines. It makes life easier (in my opinion)6. I have included a Makefile that will compile your program. Your program must be able to be compiled by this Makefile when you submit it7. IT IS OF VITAL IMPORTANCE THAT YOU NAME YOUR LABELS AS SPECIFIED AND MAKE THE APPROPRIATE AMOUNT OF SPACE FOR EACHVARIABLE! I will be using gdb to test your code and if your labels do not match then the tests will fail. You must also make sure to include the done label AFTER the last line of code you want executed in your program

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:00, alyssashae1818
Which parts of a presentation should be the most general? a. introduction and conclusion b. introduction and outline c. outline and conclusion d. outline and body
Answers: 1
image
Computers and Technology, 23.06.2019 01:40, littlebirdd987
You have a linux system that has a 1000gb hard disk drive, which has a 90gb partition containing an ext4 filesystem mounted to the / directory and a 4gb swap partition. currently, this linux system is only used by a few users for storing small files; however, the department manager wants to upgrade this system and use it to run a database application that will be used by 100 users. the database application and the associated data will take up over 200gb of hard disk space. in addition, these 100 users will store their personal files on the hard disk of the system. each user must have a maximum of 5gb of storage space. the department manager has made it very clear that this system must not exhibit any downtime as a result of hard disk errors. how much hard disk space will you require, and what partitions would you need to ensure that the system will perform as needed? where would these partitions be mounted? what quotas would you implement? what commands would you need to run and what entries to /etc/fstab would you need to create? justify your answers.
Answers: 3
image
Computers and Technology, 23.06.2019 23:00, Maya629277
Lucas put a lot of thought into the design for his company's new white paper. he made sure to include repeating design elements such as color schemes and decorative images. his goal was to a. add symmetry b. create a unified publication c. provide consistency d. save money
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, iicekingmann
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
Do you know the correct answer?
Write an assembly program called editDist. s that calculates the edit distance between 2 strings. Yo...

Questions in other subjects:

Konu
History, 06.10.2020 01:01
Konu
Mathematics, 06.10.2020 01:01