How can I perform Division in Marie Assembly Language? The functions available in Marie programming are for Addition and Subtraction. Any help will be appreciated.

## Recommended Answers

Jump to PostHow can I perform Division in Marie Assembly Language? The functions available in Marie programming are for Addition and Subtraction. Any help will be appreciated.

You can do division using subtraction.

60 / 3 if I subtract 3 from 60 it will take 20 times before 60 < 3

Jump to PostPsuedocode

`a = 60 b = 3 divide a b divide a b: c=0 while a isn't less then b a = a - b c = c + 1`

## All 6 Replies

sysop_fb
47
Light Poster

Rameses
0
Newbie Poster

sysop_fb
47
Light Poster

Rameses
0
Newbie Poster

Rameses
0
Newbie Poster

konbleck
0
Newbie Poster

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.