+ Reply to Thread
Page 3 of 13 FirstFirst 12345 ... LastLast
Results 21 to 30 of 126

Thread: The "Foxy" CPU.

  1. #21
    GUN
    GUN is offline
    Wire Sofaking GUN's Avatar
    Join Date
    Jan 2008
    Location
    California
    Posts
    668

    Default Re: The "Foxy" CPU.

    Quote Originally Posted by Bean View Post
    Also, can we freely use our hashed variables instead of registers like eax, ebx etc?

    So mov #lol,#omg;
    would work fine?
    ive been doing that lol, it doesent seam to be affectd by anything but idk, BP?

    Maybe we're all gonna die, but we're gonna die in *really cool ways*.





  2. #22
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: The "Foxy" CPU.

    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

  3. #23
    Wire Sofaking Azrael's Avatar
    Join Date
    Aug 2007
    Posts
    1,946

    Default Re: The "Foxy" CPU.

    Quote Originally Posted by -=Fox=- View Post
    Example Please?

    It's Instruction Destination,Source.... Like NASM

    mov #var,eax puts the contents of eax into the MEMORY location of var

    mov eax,#var takes the contents of that memory location and puts it into eax...

    What did I miss?
    This?
    Quote Originally Posted by -=Fox=-
    mov #temp,eax

    This will shove the contents of temp into the register eax.

  4. #24
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: The "Foxy" CPU.

    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

  5. #25
    Wire Sofaking Beer's Avatar
    Join Date
    Jul 2007
    Location
    Dallas, Texas
    Posts
    1,357

    Default Re: The "Foxy" CPU.

    Well done Fox, great tutorial... even though you drove me nuts with the 4chan memes.

    There's one thing I didn't quite get:
    When adding or subtracting (Multiplying/Dividing) numbers the destination register is where the result is stored!
    You threw me off with "adding or subtracting (Multiplying/Dividing)". I don't understand the reason for the reversal.

    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.

  6. #26
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: The "Foxy" CPU.

    Quote Originally Posted by Beer View Post
    Well done Fox, great tutorial... even though you drove me nuts with the 4chan memes.
    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:

    Quote Originally Posted by Beer View Post
    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.
    I'll redo the wording on it, so it's less confusing, I think I missed something in there.

    Quote Originally Posted by Beer View Post
    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.
    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.

    Quote Originally Posted by Beer View Post
    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.
    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

  7. #27
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: The "Foxy" CPU.

    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

  8. #28
    Wire Noob metallic's Avatar
    Join Date
    Mar 2008
    Posts
    9

    Default Re: The "Foxy" CPU.

    Will it make a difference if you inc EAX instead of #EAX. Since with the Mov #EAX is still gonna reference the mem.

  9. #29
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: The "Foxy" CPU.

    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

  10. #30
    Wire Amateur MaxImash's Avatar
    Join Date
    Sep 2008
    Location
    UK, England
    Posts
    30

    Default Re: The "Foxy" CPU.

    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

+ Reply to Thread
Page 3 of 13 FirstFirst 12345 ... LastLast

Similar Threads

  1. The "Foxy" CPU - Part 2
    By -=Fox=- in forum CPU Tutorials
    Replies: 40
    Last Post: 06-27-2010, 04:00 PM
  2. Want to understand "interval" and "timer" in Expression 2
    By anthraxyhe in forum Installation and Malfunctions Support
    Replies: 25
    Last Post: 12-08-2009, 09:36 AM
  3. Replies: 0
    Last Post: 02-14-2009, 06:13 AM
  4. Xtensity's "Spaceman Turret V6" Tutorial, "Head Shots FTW"
    By Xtensity in forum Gate Nostalgia (Old School Wiring) Discussion & Help
    Replies: 24
    Last Post: 09-20-2008, 08:46 AM
  5. Need the pack that has the "Generator" and "Razor" models...
    By Mr. Brightside in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 06-06-2007, 11:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots