Ai Dreams Forum

Artificial Intelligence => General AI Discussion => Topic started by: yotamarker on February 06, 2017, 10:47:40 pm

Title: D list
Post by: yotamarker 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
Title: Re: D list
Post by: yotamarker 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 ?
Title: Re: D list
Post by: Korrelan 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

 :)
Title: Re: D list
Post by: Freddy 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.