On Fri, 8 Sep 2000, David Heremans wrote:

> If you are reading sectors and you see each byte as octal you can read
> Z80 ml much more easilly.
> For example with 101 then you can see directly that it means "ld a,b"
> The entire Z80 is verry octal based in its opcode structure.

True, except that 101 is `ld b,c':
0 b
1 c
2 d
3 e
4 h
5 l
6 (hl)
7 a

Bye,

 main(){int  c[4]   ,x=4  ,l=getpid()  ,i;;   for(  srand(l);c[  x]=-   rand
()%6         ,x--   ;);;  for(         ;44>   x;){  char         a[9] ,*p=
 "%.1f\n",   b[9];x=i=0;  gets(a);for   (l=4 ;l--   ;)x+=-(a[l]  -=48)==
       (b[l  ]=c[   l]);  ;for           (l=0;16    >i;l         =++i %4)x
+=(b[i/4]+   a[l]   ?0:(  a[l]=b[i/4]     =10))     ;printf(p,x  *.1)   ;};}



****
Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
****

Reply via email to