Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an Assembly language program for DLW-1 machine to calculate. (N1-N2)*N3+1 where N1, N2 and N3 are integers. In your program: 1- Use the two

Write an Assembly language program for DLW-1 machine to calculate.

(N1-N2)*N3+1 where N1, N2 and N3 are integers. In your program:

1- Use the two types of arithmetic instructions

2- Use three types of memory access instruction

3- Use the Conditional and unconditional jumping

3- Check the nonzero result

4- Write the machine language for every assembly language instruction

Table 1 Table 2

Mnemonic

Opcode

Add

000

Sub

001

load

010

Store

011

Register

Binary Code

A

00

B

01

C

10

D

11

Fill your program in the table3

Table 3

Assembly Language Instruction

Machine Language Instruction

PSW

Type

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

Question

Explain the concept of going concern value in detail.

Answered: 1 week ago

Question

Define marketing.

Answered: 1 week ago

Question

What are the traditional marketing concepts? Explain.

Answered: 1 week ago

Question

Define Conventional Marketing.

Answered: 1 week ago