Kamis, 03 Desember 2015

ABSTRACT MACHINE AND CHARACTER

ABSTRACT MACHINE
  • aims to learn how to make libraries ( as well as string.h , stdio.h , etc. )
  • every button on the abstract machine is actually a function or procedure
  • create an abstract machine is a mechanism to design and create libraries that libraries are not easily replaceable and easy to use.

CC - current character
START - turn on the machine, and enter one character. 
INC - forward one character
ADZ - forward to find the next character (whitespace ingored) 
GET CC - take the cc
EOP - light on if the meeting point as the end of process. 

for example c language program







Tidak ada komentar:

Posting Komentar