Das Open-Control-Projekt - Die Alternative zur C-Control-I


Das Forum zur C-Control-1
Welche C-Control-Varianten existieren?
Übersicht - Suchen - Neueste 50 Beiträge - Neuer Beitrag - Login - Registrieren
INFO - FAQ - CC2-Forum - CCPro-Forum 

 BYTE / 2 Problem Kategorie: Programmierung Basic (von Hans - 12.10.2005 22:24)
Hans nutzt:  CC1-M-Unit V1.2/2.0

hallo

i have a smal problem
in my program i want to split 1 BYTE  in 2 X 4 BITS
so that I get for example this
 :
#First    'first part of BYTE1

IF BYTE1=0 THEN GOTO....
IF BYTE1=1 THEN GOTO .....
ect.
IF BYTE1=15 THEN ...

IF BYTE1=>16 THEN GOTO Second ELSE RETURN

#Second  'Second part of BYTE1
IF BYTE1=0 THEN GOTO.......
IF BYTE1=1 THEN GOTO...
ect.
IF BYTE1=15 THEN GOTO....

I hope that I have explained it well,
and that someone can help me so that i can go on with it

greetings
hans
 
 



 

 Antwort schreiben

Bisherige Antworten:

Re: BYTE / 2 Problem (von Eckhard - 13.10.2005 9:28)
    Re: BYTE / 2 Problem (von Eckhard - 13.10.2005 9:38)
        Re: BYTE / 2 Problem (von Hans - 13.10.2005 19:24)
Re: BYTE / 2 Problem (von Windt H.J. - 12.10.2005 23:28)
    Re: BYTE / 2 Problem (von Hans - 13.10.2005 19:19)