The MASM Forum

Miscellaneous => The Orphanage => Topic started by: Magnum on May 05, 2017, 07:09:53 PM

Title: Mistakes
Post by: Magnum on May 05, 2017, 07:09:53 PM
I have made a boatload of mistakes.

My goal is to make fewer mistakes.


Title: Re: Mistakes
Post by: Siekmanski on May 05, 2017, 10:57:05 PM
Welcome to the club.  :biggrin:
Title: Re: Mistakes
Post by: anunitu on May 06, 2017, 12:19:28 AM
Hell,Mistakes are my middle name.
Title: Re: Mistakes
Post by: shankle on May 06, 2017, 12:21:52 AM
Nah - you got it all wrong. Those are called senior moments :biggrin:
Title: Re: Mistakes
Post by: anunitu on May 06, 2017, 12:22:40 AM
Where the heck are my glasses...and Get the flock off my lawn!!!!!!
Title: Re: Mistakes
Post by: Raistlin on May 06, 2017, 04:25:38 AM
Experience equals = PPS, no pun intended

The long version: Mistakes from which you learn is experience,
all else is stupidity <= copy protected quote of Masm32
Title: Re: Mistakes
Post by: hutch-- on May 06, 2017, 06:20:46 PM
I have made that many PHUKUPS that I could not count them, the action is fixing them. The faster you fix them, the smarter you get.  :P
Title: Re: Mistakes
Post by: jj2007 on May 06, 2017, 07:31:01 PM
Quote from: Magnum on May 05, 2017, 07:09:53 PMMy goal is to make fewer mistakes.

It seems that is not your only goal. (http://masm32.com/board/index.php?action=stats)
Title: Re: Mistakes
Post by: Magnum on May 07, 2017, 07:51:09 AM
You forgot to count PMs. :-)

I am sure you aren't that far behind me.

Title: Re: Mistakes
Post by: LordAdef on May 07, 2017, 08:06:00 AM
Forum's biggest mistake so far:

There's no book on Masm32 yet.... so bare with Irvine
Title: Re: Mistakes
Post by: mineiro on May 07, 2017, 08:30:40 AM
When we recognize our errors this is a form of knowledge. When we know that we can't understand one thing this is a form of knowledge.
But we are assembly programmers, we don't create errors, we create mitakes   :greenclp:
One of our many virtues is humility
Title: Re: Mistakes
Post by: LordAdef on May 07, 2017, 08:34:55 AM
QuoteBut we are assembly programmers, we don't create errors, we create mitakes

And we optimize them :eusa_dance:
Title: Re: Mistakes
Post by: mineiro on May 07, 2017, 08:36:57 AM
hehehe, of course, and after we can compress too
Title: Re: Mistakes
Post by: anunitu on May 07, 2017, 08:39:22 AM
Quote from: LordAdef on May 07, 2017, 08:06:00 AM
Forum's biggest mistake so far:

There's no book on Masm32 yet.... so bare with Irvine

There is a very good Book/PDF By Randy Hyde...The art of assembly language.

http://www.plantation-productions.com/Webster/


Very good intro to the basics.
Title: Re: Mistakes
Post by: LordAdef on May 07, 2017, 08:48:51 AM
yep, but this is the one of Randy's HLA, right?
Title: Re: Mistakes
Post by: anunitu on May 07, 2017, 08:52:14 AM
Both his art of assembly and about HLA...there are also hard copies available
Title: Re: Mistakes
Post by: anunitu on May 07, 2017, 08:54:17 AM
http://www.plantation-productions.com/Webster/www.artofasm.com/index.html

Win32 assembler art of I think.
Title: Re: Mistakes
Post by: jj2007 on May 07, 2017, 09:34:42 AM
Quote from: anunitu on May 07, 2017, 08:54:17 AM
http://www.plantation-productions.com/Webster/www.artofasm.com/index.html

Win32 assembler art of I think.

Chapter 2.9.5.:
QuoteThe following simple example demonstrates one use for the REPEAT..UNTIL statement:

mov( 10, ecx );
repeat
   stdout.put( "ecx = ", ecx, nl );
   sub( 1, ecx );
until( ecx = 0 );

The non-HLA version of AoA is in the recommended reading para of my tips, tricks & traps. (http://www.webalice.it/jj2006/Masm32_Tips_Tricks_and_Traps.htm)
Title: Re: Mistakes
Post by: LordAdef on May 07, 2017, 12:00:15 PM
Good to know, I thought there was only the HLA one, which is a no no.

BTW, "Modern x86 Assembly Language Programming" by Daniel Kusswurm arrived here yesterday. Looks like a nice one too.
Title: Re: Mistakes
Post by: raymond on May 08, 2017, 03:12:22 AM
Quote from: LordAdef on May 07, 2017, 08:06:00 AM
Forum's biggest mistake so far:

There's no book on Masm32 yet.... so bare with Irvine

But there's a quite good tutorial dealing with FPU instructions:
http://www.ray.masmcode.com/fpu.html
Title: Re: Mistakes
Post by: hutch-- on May 08, 2017, 04:43:40 AM
You will do far better with the work by Daniel Kusswurm. It is up to date and well written. Treat the old stuff like the plague, its technology is out of date and will fill your head with clapped out old technology.
Title: Re: Mistakes
Post by: LordAdef on May 08, 2017, 05:51:10 AM
Quote from: hutch-- on May 08, 2017, 04:43:40 AM
You will do far better with the work by Daniel Kusswurm. It is up to date and well written. Treat the old stuff like the plague, its technology is out of date and will fill your head with clapped out old technology.

I actually bought it after your recommendation somewhere here in the forum.
Title: Re: Mistakes
Post by: LordAdef on May 08, 2017, 06:00:42 AM
Quote from: raymond on May 08, 2017, 03:12:22 AM
Quote from: LordAdef on May 07, 2017, 08:06:00 AM
Forum's biggest mistake so far:

There's no book on Masm32 yet.... so bare with Irvine

But there's a quite good tutorial dealing with FPU instructions:
http://www.ray.masmcode.com/fpu.html

Nice Raymond, I didn't know this one. Bookmarked!

btw Raymond, I also had a trs-80! It felt I owned a dream machine at that time, that was a beautiful machine..
Title: Re: Mistakes
Post by: raymond on May 08, 2017, 06:54:13 AM
Quote from: LordAdef on May 08, 2017, 06:00:42 AM
btw Raymond, I also had a trs-80! It felt I owned a dream machine at that time, that was a beautiful machine..

I don't know which one you had. Mine was the very basic one with 16kb of total memory but fortunately had the expansion to 64 kb. WOW!

That effectively allowed me to extract square roots with a precision of up to 10,000 decimals after a challenge from my son whose friend was trying to write a program to get square roots with a 30-decimal precision. :icon_cool:
Title: Re: Mistakes
Post by: jj2007 on May 08, 2017, 08:04:11 AM
Quote from: hutch-- on May 08, 2017, 04:43:40 AMYou will do far better with the work by Daniel Kusswurm. It is up to date and well written. Treat the old stuff like the plague, its technology is out of date and will fill your head with clapped out old technology.

The Kusswurm book is certainly a good choice if one can afford it. If not, the non-HLA version of AoA is really not bad, and it's free. And Ray's tutorial for the FPU is free and excellent.
Title: Re: Mistakes
Post by: raymond on May 08, 2017, 09:18:45 AM
Quote from: jj2007 on May 08, 2017, 08:04:11 AM
Quote from: hutch-- on May 08, 2017, 04:43:40 AMYou will do far better with the work by Daniel Kusswurm. It is up to date and well written. Treat the old stuff like the plague, its technology is out of date and will fill your head with clapped out old technology.

The Kusswurm book is certainly a good choice if one can afford it. If not, the non-HLA version of AoA is really not bad, and it's free. And Ray's tutorial for the FPU is free and excellent.

;)
Title: Re: Mistakes
Post by: anunitu on May 08, 2017, 12:19:11 PM
The first time I saw a Trs-80 that my sisters boyfriend had I said in my heart,I gotta get me one of those....(first working computer I ever laid my eyes on)