To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 14431
14430  |  14432
Subject: 
Re: A code by any other name
Newsgroups: 
lugnet.robotics
Date: 
Sat, 17 Feb 2001 13:03:03 GMT
Original-From: 
Richard Clemens <clemens@wvwc.edu/spamcake/>
Viewed: 
591 times
  
It must be remembered that for anything to be
"perceived" (and I use the term loosely) by a computer, it must be
numerically represented

And the numerical system used in computers is binary or base 2.  Each
instruction would have a unique binary representation providing the control
of the datapath that would cause the desired action upon the data.

An instruction such as INCREMENT X might look like:
00110111 000000000110011100010011 in a simple computer with a eight bit
opcode (256 possible instructions) and a 24 bit memory address operand (16
MB memory).

Where 2 to the nth power provides the number of possible instructions or the
number of memory locations where n is the  width in bits.
--
Rich Clemens
clemens@wvwc.edu



Message is in Reply To:
  A code by any other name
 
(...) Your kidding?? The term "code" dates back (at least) to the "opcodes" used in machine language (ie. an even lower level than assembly). The term "opcode" refers to Operation Codes or "instructions" which may in many cases have required an (...) (24 years ago, 17-Feb-01, to lugnet.robotics)

24 Messages in This Thread:









Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR