Question

Multiplication Table Teaching and Testing Programming Project Please read this entire document carefully and abide by the requirements exactly. Your project mark will depend on this General description In this project, you are required to write an Intel x86 16-bit assembly language program that will teach and test youngsters the simple 1-12 multiplication table. The program shall be divided into two parts one part is to show examples through which youngsters can learn the basics of the multiplication table The other part is used to test and report on how good the user has learned the multiplication table This project is to be done by a team of two students. One student will be responsible for the teaching part, while the second student is responsible for the testing and reporting part. It is expected that each student will use his preferred approach to accomplish the task. You are free to choose any method you find suitable. You can use graphics or text mode to accomplish the tasks. It is essential that you plan your work carefully before starting the code for a successful project. You will work in teams of two students. However, teamwork here does not mean that everyone is involved with the same work. Each team once formed, should have an initial meeting where they study the project requirements carefully, then divide the necessary work into tasks and subtasks and thern assign each to a member of the team who will be the sole responsible person for the assigned tasks. This Deliverables 1 A fully working properly commented .asm file performing all the above required operations written in x86 16 bit assembly language and running on the emu8086 emulator
0 0
Add a comment Improve this question Transcribed image text
Answer #1

print macro msg         

lea dx,msg         

mov ah,09h         

int 21h     

endm     

read macro n,j1,j2     

j1:mov ah,01h         

int 21h

        cmp al,0dh

        je j2

        sub al,30h

        mov bl,al

        mov ax,n

        mov dx,0ah

        mul dx

        xor bh,bh

        add ax,bx

        mov n,ax

        jmp j1

j2 :nop

endm     

.model small     

.stack 100h

.data

        msg1 db 10,13,'Enter the number: $'

        msg2 db 10,13,'Enter the limit: $'

        msg4 db 10,13,'$'

        msg5 db ' * $'

        msg6 db ' = $'

        msg7 db 10,13,'Multiplication table$'

        num dw 0

        limit dw 0

        pro dw 0

        m dw 1

    .code

    main proc

        mov ax,@data

        mov ds,ax

        print msg1

        ;reading 1st multidigit number

        read num,jump1,jump2

        print msg2

        ;reading 2nd multidigit number

        read limit,jump3,jump4

        ;printing multiplication table

        mov cx,limit

        print msg7

    loop1:mov bx,m

        mov ax,num

        mul bx

        push cx

        mov pro,ax

        print msg4

        mov ax,num

        call printmul

        print msg5

        mov ax,m

        call printmul

        print msg6

        mov ax,pro

        call printmul

        inc m

        pop cx

        loop loop1

        mov ah,4ch

        int 21h

    main endp

    printmul proc

        mov bx,000ah

        xor cx,cx

        ;push into stack

l2:xor dx,dx

        div bx

        push dx

        inc cx

        cmp ax,0000h

        jne l2

        ;pop from stack

    l3:pop dx

        add dl,30h

        mov ah,02h

        int 21h

        loop l3

        ret

    printmul endp

     end

Add a comment
Know the answer?
Add Answer to:
Multiplication Table Teaching and Testing Programming Project Please read this entire document carefully and abide by...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please help writing a well structured document using the below Agile Runbook - Our Overall Delivery Process How do we initiate a Project? Any project is a response to a pain point or desire expresse...

    Please help writing a well structured document using the below Agile Runbook - Our Overall Delivery Process How do we initiate a Project? Any project is a response to a pain point or desire expressed by either customers, internal stakeholders, employees, or regulatory authorities. In short, a project is a time bound and specific goal oriented task-system that is born out of an ask from any stakeholder. Project initiation is laying down a new project by defining its goals, objectives,...

  • Select two of the discussion questions and analyze the case study using project management principles. Apply...

    Select two of the discussion questions and analyze the case study using project management principles. Apply your knowledge of project management to the facts presented in the case study to describe how you would proceed. We only need to answer one of the questions. A thorough answer will probably require 300 to 500 words for each question.   Feel free to use text bullets, tables, or graphics to summarize your points. Questions Q1: Make or Buy decision – Describe the make...

  • How can we assess whether a project is a success or a failure? This case presents...

    How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...

  • Please read the article bellow and discuss the shift in the company's approach to genetic analysis....

    Please read the article bellow and discuss the shift in the company's approach to genetic analysis. Please also discuss what you think about personal genomic companies' approaches to research. Feel free to compare 23andMe's polices on research with another company's. Did you think the FDA was right in prohibiting 23andMe from providing health information? These are some sample talking points to get you thinking about the ethics of genetic research in the context of Big Data. You don't have to...

  • First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below...

    First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below Include each of the following in your answer (if applicable – explain in a paragraph) Research problem: what do you want to solve using Delphi? Sample: who will participate and why? (answer in 5 -10 sentences) Round one questionnaire: include 5 hypothetical questions you would like to ask Discuss: what are possible outcomes of the findings from your study? Hint: this is the conclusion....

  • Mini Case Building Shared Services at RR Communications4 4 Smith, H. A., and J. D. McKeen....

    Mini Case Building Shared Services at RR Communications4 4 Smith, H. A., and J. D. McKeen. “Shared Services at RR Communications.” #1-L07-1-002, Queen’s School of Business, September 2007. Reproduced by permission of Queen’s University, School of Business, Kingston, Ontario, Canada. Vince Patton had been waiting years for this day. He pulled the papers together in front of him and scanned the small conference room. “You’re fired,” he said to the four divisional CIOs sitting at the table. They looked nervously...

  • Mini Case Building Shared Services at RR Communications4 4 Smith, H. A., and J. D. McKeen....

    Mini Case Building Shared Services at RR Communications4 4 Smith, H. A., and J. D. McKeen. “Shared Services at RR Communications.” #1-L07-1-002, Queen’s School of Business, September 2007. Reproduced by permission of Queen’s University, School of Business, Kingston, Ontario, Canada. Vince Patton had been waiting years for this day. He pulled the papers together in front of him and scanned the small conference room. “You’re fired,” he said to the four divisional CIOs sitting at the table. They looked nervously...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT