Skip to contentSkip to conversation

Make a Calculator! Help-me

DISCUSSION Guilherme Romao 3 participants 3 messages Apr 17, 2003

lore
Share & tools
lore
#0 lore raw

I am new in the language assembly and I would like to understand better on the recorders, I am trying to make a calculator that reads two numbers of the keyboard and later addition the two numbers. Somebody could make this calculator and pass me the source. So that I can to study. Thank you!

Signature · 5 lines
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze
#1 lore raw
Quoted 1 line · Guilherme Romao

I am new in the language assembly and I would like to understand better on the recorders, I am trying to make a calculator that reads two numbers of the keyboard and later addition the two numbers. Somebody could make this calculator and pass me the source. So that I can to study. Thank you!

Use the Source, Luke. See bc(1)

--
X -> unknown; Spurt -> drip of water under pressure Expert -> X-Spurt -> Unknown drip under pressure.

#2 lore raw
In reply to Guilherme Romao

Guilherme Romao am Donnerstag, 17. April 2003 07:11:

Quoted 4 lines

I am new in the language assembly and I would like to understand better on the recorders, I am trying to make a calculator that reads two numbers of the keyboard and later addition the two numbers. Somebody could make this calculator and pass me the source. So that I can to study. Thank you!

a 'calculator' is a most simple application of the Forth language. examples (Forth compiler/interpreter sources in assembly):

	http://www.lxhp.in-berlin.de/lhpf8.html ('lib4th' ANS-type Forth w. 'nasm')
	http://www.lxhp.in-berlin.de/lhpf4.html ('f4' fig-type Forth w. (G)AS)

best,
hp
--
Linux,Assembly,Forth: http://www.lxhp.in-berlin.de/index-lx.shtml en/de
pse, reply to << lx -at- lxhp -dot- in-berlin -dot- de >>