D list

  • 3 Replies
  • 389 Views
*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 540
D list
« on: February 06, 2017, 10:47:40 pm »
as far as I understand the way by which A.Is will breed
is by creating computers and loading them with the A.I program.

my request is the list of commands actions the CPU provides, (the ones I may have missed):

read
write
delete
jump to
add
subtract

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 540
Re: D list
« Reply #1 on: February 07, 2017, 10:23:33 am »
ADD ;add one number to another number
SUB ;subtract one number to another number
INC ;increment a number by 1
DEC ;decrement a number by 1
MUL ;multiply numbers together
OR  ;boolean algebra function
AND ;boolean algebra function
NOT ;boolean algebra function
XOR ;boolean algebra function
JNZ ;jump to another section of code if a number is not zero (used for loops and ifs)
JZ  ;jump to another section of code if a number is zero (used for loops and ifs)
JMP ;jump to another section of code (used for loops and ifs)
halt
anymore ?

*

korrelan

  • Trusty Member
  • ********
  • Replicant
  • *
  • 662
  • Look into my eyes! WOAH!
    • Google +
Re: D list
« Reply #2 on: February 09, 2017, 11:52:52 am »
Every processor or processor family has its own machine code instruction set. Instructions are patterns of bits that by physical design correspond to different commands to the machine. Thus, the instruction set is specific to a class of processors using (mostly) the same architecture.

https://en.wikipedia.org/wiki/Machine_code

 :)
It thunk... therefore it is!

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6061
  • Mostly Harmless
Re: D list
« Reply #3 on: February 09, 2017, 02:50:28 pm »
You beat me to it. I was going to dig up a link the other day but forgot.

I haven't played with machine code since the 80s on a Z80 - time flies by.

 


Users Online

14 Guests, 0 Users

Most Online Today: 28. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles