I actually haven't tried moving from memory spot to spot, I haven't had a use for it (yet). As long as #lol and #omg have valid values and their not zero or refer to memory locations where the program or the stack resides, they should work.
I actually haven't tried moving from memory spot to spot, I haven't had a use for it (yet). As long as #lol and #omg have valid values and their not zero or refer to memory locations where the program or the stack resides, they should work.
http://tiny.cc/OMFGWTFBBQ
Best People On Wiremod!
Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015
Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
My IQ is 123
OH! ok I'll fix that, Thanks ^_^ I just didn't see it
http://tiny.cc/OMFGWTFBBQ
Best People On Wiremod!
Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015
Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
My IQ is 123
Well done Fox, great tutorial... even though you drove me nuts with the 4chan memes.
There's one thing I didn't quite get:You threw me off with "adding or subtracting (Multiplying/Dividing)". I don't understand the reason for the reversal.When adding or subtracting (Multiplying/Dividing) numbers the destination register is where the result is stored!
Also, you explained comparing values and jumping if equal or not equal, but there's no mention of greater than/less than. I think that needs to be added to the section where you discuss comparisons.
This really was super easy to follow though. I've read BP's CPU tutorial probably 3 times and it just didn't sink in. This one did the trick with one read. Thanks. I think from here, I'll be able to read BP's and understand it about a thousand times better.
Last edited by Beer; 10-03-2008 at 03:53 PM.
I have never, EVER been in, used or even got NEAR 4chan ... so any resemblance is purely coincidental. ^_^
...oh... I see... well... that's just... OVER NINE THOUSAAAAAAAND! :lol:
I'll redo the wording on it, so it's less confusing, I think I missed something in there.
My Goal isn't to redo BP's entire references and tutorial threads. Since the Documentation already exists... why re-write it?
This does however provide a more "common-language" approach to things (English isn't BPs first language anyways) and introduces the reader to the CPU in a more systematic fashion. It also introduces basic functionality and how to use some of the Code and Syntax.
Anything beyond that, you should be able to read the documentation :lol:
I might include a plug for Jmps... maybe... I think there are "Conditional Call" instructions too, though I'd have to look them up.
My pleasure, I'm glad it was useful ^_^
Last edited by -=Fox=-; 10-03-2008 at 04:57 PM.
http://tiny.cc/OMFGWTFBBQ
Best People On Wiremod!
Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015
Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
My IQ is 123
Update Bump!
:lol:
Just a few more basic things to go over, calls and the stack are next in line, the db macro and how to use some highspeed devices are probably last, interrupts will be done whenever I get to them :lol: .
http://tiny.cc/OMFGWTFBBQ
Best People On Wiremod!
Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015
Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
My IQ is 123
Will it make a difference if you inc EAX instead of #EAX. Since with the Mov #EAX is still gonna reference the mem.
You can do both, inc eax will increment the value at the register, inc #eax will increment the value at the memory location it refers to.
For example:
mov eax,10
inc eax
eax will equal 11
mov eax,10
inc #eax
will make eax point to the memory location at cell #10 and increment THAT value instead of the register.
I'll put a plug in for more info for inc ^_^
http://tiny.cc/OMFGWTFBBQ
Best People On Wiremod!
Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015
Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
My IQ is 123
Wow, this is one amazing tutorial. I just thought i'd explore CPUs, see if I could somehow grasp the basic code. From tutorials that I've glanced at, I got the impression that it was extremely difficult and you had to be some sort of programming genius. This, after one read, made everything clear, and its not actually that hard to work out at all.
Thanks a bunch, I'm looking forward to reading the rest of the tutorial.
Bored?
Read a Story
A Few Contraptions Worth Mentioning
C&C3 Orca
C&C3 Firehawk
Stryker APC- Unfinished
Enjoi
Bookmarks