Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 assmebly
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

cjb0087
Knave

Australia
76 Posts

Posted - May 31 2004 :  4:47:28 PM  Show Profile  Visit cjb0087's Homepage  Reply with Quote
I am planning to learn assembly, mainly because most people say to since it increases you knowledge of computers someway....

anyway ive been unable to find any GOOD tutorials on it anywhere, most of the alrightones have conflicting stuff.

I was hoping that almar may be able to shed some light

www.bugsplat.tk

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - May 31 2004 :  5:00:23 PM  Show Profile  Reply with Quote
Good luck... did you do a google for ASM/assembly tutorials, There should be quite a few tutorials out there...

Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - May 31 2004 :  10:11:02 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
problem with assembly, is you have to choose a instruction set to learn, I would suggest, actually looking up some emulator coding tutorials... for all of the console systems used assembly, and it is a good place to start... I learned on a 6502 architecture(nes system), that was a good place to start... most instructions sets are similar except maybe a few things... Just choose one that will work with you and go with it... and you can find numerous tutorials on line, just do what sr. quapo suggested and do a google search.

DaBooda out...

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - May 31 2004 :  10:12:12 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
And one more thing, assembly is good, because it teaches you memory management, because you work directly with the stack... It does give you an appreciation, if not more knowledge, of a higher end language...

DaBooda out...

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - May 31 2004 :  11:16:44 PM  Show Profile  Reply with Quote
If you had problems understanding pointers in C/C++, it will be near impossible to understand low-level memory features (like the "stack") in assembly/ASM. That is where a very solid understanding of how a computer works in it's entirety comes in handy...

Edited by - Sr. Guapo on May 31 2004 11:17:23 PM
Go to Top of Page

Almar
Moderator

Netherlands
192 Posts

Posted - Jun 01 2004 :  01:55:11 AM  Show Profile  Visit Almar's Homepage  Send Almar an ICQ Message  Reply with Quote
quote:
Originally posted by Sr. Guapo

If you had problems understanding pointers in C/C++, it will be near impossible to understand low-level memory features (like the "stack") in assembly/ASM. That is where a very solid understanding of how a computer works in it's entirety comes in handy...



I can do ASM.. but not C :). I haven't touched a C compiler in my life. :).

Anyway, on my site youll find some basic math examples.. by just messing around with DLL's and VB, you'll learn a lot.

btw: Don't try this on Win98/ME, you'll need 2k/XP :)
Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Jun 01 2004 :  10:51:17 AM  Show Profile  Reply with Quote
And I can't learn for the life of me how stacks work...


Whatever. Who knows...

Edited by - VBBR on Jun 01 2004 11:08:09 AM
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 01 2004 :  11:45:36 AM  Show Profile  Reply with Quote
Nobody does... except for the people who developed the computers after 10 years of graduate training in computer engineering/architecture...
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 01 2004 :  7:25:33 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
The thing that confused me with the stack, was all the push and pop... because sometimes you pushed and then pushed again, and then popped once, and I couldn't keep track anymore... I would suggest only using assembly to code math functions to be used in vb... because of the speed increase... of course anybody is smarter than me...

DaBooda out...

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Jun 01 2004 :  8:09:57 PM  Show Profile  Reply with Quote
Yeah and what sense does this push/pop stuff make? And I need to know stacks, to use in OpenGL, Lua, NSIS, etc... and maybe even ASM...

And masterbooda... stop making little of yourself, this is bad because we end up convincing ourselves that we are less capable and eventually really being.

Whatever. Who knows...
Go to Top of Page

cjb0087
Knave

Australia
76 Posts

Posted - Jun 02 2004 :  07:10:01 AM  Show Profile  Visit cjb0087's Homepage  Reply with Quote
Yeah, ive always wondered how to make NES games, ill give it a shot.

Thanks for all your input, i ended up making a 20 line program on the school computers using the a86 compiler, it just printed 'first asm program' to the screen :)

www.bugsplat.tk
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 02 2004 :  09:12:44 AM  Show Profile  Reply with Quote
Not "hello world"? J/K, Wow, 20 lines, in VB I could do that with... lets see... one!

What always confused me about assembly were the registers... I never understood how there were only a few 1 byte registers you could use... It is a good thing I didn't learn to program in assembly... I never would have used a computer again!

Edited by - Sr. Guapo on Jun 02 2004 09:23:25 AM
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  09:48:26 AM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
The problem with the 1byte registers, is you had to split your long variables up and spread them to about 3 registers, so to multiply 1 * 256, since 256 is more than 1byte, you have to use two registers, and use a multiplitive additive type of dilly and forget it!!! give me my vb!!!

DaBooda Out...

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

Almar
Moderator

Netherlands
192 Posts

Posted - Jun 02 2004 :  12:40:14 PM  Show Profile  Visit Almar's Homepage  Send Almar an ICQ Message  Reply with Quote
eh.. 1 byte? I never even saw Those :)

I'm only familiar with AX = 16 bit, and EAX = 32bit... andon a 32bit proc you'll only use 32bit probably anyway (so ecx, edx, eax, etc)
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 02 2004 :  1:01:15 PM  Show Profile  Reply with Quote
That is weird, the tutorials I have seen showed some 1 byte, and I think a 2 byte... I don't think I have ever seen a 4... I guess that makes alot of sense though...
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  1:19:42 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
Your extremely old chip sets, we are talking radio shack color computer's here, are only capable of the one byte, but it is rare, but your new chips are capable of 32 bit, makes things a little easier, but not much.... because you still have to do some bit shifting to multiply and divide...

DaBooda out...

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.14 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.