Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

My question just I want to fix the error in code which i done in this photos. You must use Proteus 8086 Masm 32. The

My question just I want to fix the error in code which i done in this photos.

You must use Proteus 8086 Masm 32.

The original question are:

1. Design a system by using 7 Seg CA, Leds, Keypad to display any number printed by using keypad on 7 Seg and display the same number on Leds but as counter ( the counter start count from zero to pressed number from keypad), if you press star (*) the Leds will be running as counter increasing from 00h to 0ffh until you press any button rather than (*), when you press(#) the counter will be starting count decreasing from 0ffh to 00h until you press any other button rather than (#), when you press (0) the Leds will be blinking

please do it for important

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Project - Proteus 8 Professional - Source Code File Project Build Edit Debug System Help EE 0103 H 4 Schematic Capture X 010. Source Code X Project Notes X 6 main.asm X Projects V8086 (01) Source Files A main.asm 1 2 ; Main.asm file generated by New Project wizard 3 4 ; Created: Thu Nov 18 2021 5 ; Processor: 8086 6 ; Compiler: MASM32 7 8 ; Before starting simulation set Internal Memory Size 9 ; in the 8086 model properties to 0x10000 10 11 12 CODE SEGMENT PUBLIC CODE 13 ASSUME CS:CODE 14 15 START: 16 ; Write your code here 17 mov Al, 81h 18 out 06h, Al 19 s111: 20 sl: 21 mov Al, Oe0h 22 out 04h, Al 23 in Al, 04h 24 cmp Al, Oe3h 25 je oni VSM Studio Output Copyright (C) Microsoft Corp 1981-1997. All rights reserved. Compiled successfully. 9 Message(s) Ready 1 1 O Type here to search 0 . main.asm 25 -) Files n. asm je onl jne s2 s2: in Al, 04h cmp Al, Oe5h je on2 jne s3 s3: in Al, 04h cmp Al, Oe6h je on3 jne s 4 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 S4: mov Al, Odoh out 04h, Al in 04h cmp Al, Od3h je on 4 jne s5 s5: in Al, 04h cmp Al, Od5h je on5 jne s6 out (C) Microsoft Corp 1981-1997. All rights reserved. uccessfully. -) Files 1. asm s6: in Al, 04h cmp Al, Od6h je ono jne s 7 main.asm 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 s7: mov Al, Oboh out 04h, Al in Al, 04h cmp Al, Ob3h je on 7 jne s8 s8: in Al, 04h cmp Al, Ob5h je on8 jne s9 59: in Al, 04h cmp Al, Ob6h je on 9 jne s10 74 s10: 1 ut (C) Microsoft Corp 1981-1997. All rights reserved. uccessfully. -) Files 1. asm main.asm 74 75 76 77 78 79 80 81 82 83 s10: mov Al, 70h out 04h, Al in Al, 04h cmp Al, 73h je on10 jne s11 sll: in Al, 04h cmp Al, 75h je on11 jne s12 s12: in Al, 04h cmp Al, 76h je on12 jne sl11 84 85 86 87 88 89 90 91 92 93 94 95 96 97 onl: mov Al, 01h out 02h, AL mov Al, 79h out 00h, Al jmp s111 98 out (C) Microsoft Corp 1981-1997. All rights reserved. uccessfully. Capture -) Files . asm main.asm 99 100 101 102 on2: mov Al, 02h out 02h, AL mov Al, 24h out 00h, Al jmp s111 on3: mov Al, 03h out 02h, AL mov Al, 30h out 00h, Al jmp s111 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 on4: mov Al, 04h out 02h, AL mov Al, 19h out 00h, Al jmp s111 on 5: mov Al, 05h out 02h, AL mov Al, 12h ut (C) Microsoft Corp 1981-1997. All rights reserved. uccessfully. -) Files . asm on4: mov Al, 04h out 02h, AL mov Al, 19h out 00h, Al jmp s111 main.asm 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 on5: mov Al, 05h out 02h, AL mov Al, 12h out 00h, Al jmp s111 on 6: mov Al, 06h out 02h, AL mov Al, 02h out 00h, Al jmp s111 on7: mov Al, 07h out 02h, AL mov Al, 78h

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions