version 1.41, 2013/02/26 19:56:14
|
version 1.51, 2014/10/13 07:12:54
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.12 |
RPL/2 (R) version 4.1.19 |
Copyright (C) 1989-2013 Dr. BERTRAND Joël |
Copyright (C) 1989-2014 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 121 instruction_eval(struct_processus *s_eta
|
Line 121 instruction_eval(struct_processus *s_eta
|
sf(s_etat_processus, 31); |
sf(s_etat_processus, 31); |
} |
} |
|
|
|
liberation(s_etat_processus, s_objet); |
return; |
return; |
} |
} |
|
|
Line 475 instruction_else(struct_processus *s_eta
|
Line 476 instruction_else(struct_processus *s_eta
|
unsigned char *instruction_majuscule; |
unsigned char *instruction_majuscule; |
unsigned char *tampon; |
unsigned char *tampon; |
|
|
unsigned long niveau; |
integer8 niveau; |
|
|
void (*fonction)(); |
void (*fonction)(); |
|
|
Line 556 instruction_else(struct_processus *s_eta
|
Line 557 instruction_else(struct_processus *s_eta
|
{ |
{ |
if (strcmp(instruction_majuscule, "END") == 0) |
if (strcmp(instruction_majuscule, "END") == 0) |
{ |
{ |
(*s_etat_processus).position_courante -= (strlen( |
(*s_etat_processus).position_courante -= |
instruction_majuscule) + 1); |
(((integer8) strlen( |
|
instruction_majuscule)) + 1); |
drapeau_fin = d_vrai; |
drapeau_fin = d_vrai; |
} |
} |
else |
else |
Line 754 instruction_elseif(struct_processus *s_e
|
Line 756 instruction_elseif(struct_processus *s_e
|
unsigned char *instruction_majuscule; |
unsigned char *instruction_majuscule; |
unsigned char *tampon; |
unsigned char *tampon; |
|
|
unsigned long niveau; |
integer8 niveau; |
|
|
void (*fonction)(); |
void (*fonction)(); |
|
|
Line 846 instruction_elseif(struct_processus *s_e
|
Line 848 instruction_elseif(struct_processus *s_e
|
{ |
{ |
if (strcmp(instruction_majuscule, "END") == 0) |
if (strcmp(instruction_majuscule, "END") == 0) |
{ |
{ |
(*s_etat_processus).position_courante -= (strlen( |
(*s_etat_processus).position_courante -= |
instruction_majuscule) + 1); |
(((integer8) strlen( |
|
instruction_majuscule)) + 1); |
drapeau_fin = d_vrai; |
drapeau_fin = d_vrai; |
} |
} |
else |
else |
Line 1195 instruction_eng(struct_processus *s_etat
|
Line 1198 instruction_eng(struct_processus *s_etat
|
return; |
return; |
} |
} |
|
|
(*((logical8 *) (*s_objet).objet)) = |
(*((logical8 *) (*s_objet).objet)) = (logical8) |
(*((integer8 *) (*s_objet_argument).objet)); |
(*((integer8 *) (*s_objet_argument).objet)); |
|
|
i43 = test_cfsf(s_etat_processus, 43); |
i43 = test_cfsf(s_etat_processus, 43); |
Line 1233 instruction_eng(struct_processus *s_etat
|
Line 1236 instruction_eng(struct_processus *s_etat
|
{ |
{ |
if (valeur_binaire[i] == '0') |
if (valeur_binaire[i] == '0') |
{ |
{ |
cf(s_etat_processus, j++); |
cf(s_etat_processus, (unsigned char) j++); |
} |
} |
else |
else |
{ |
{ |
sf(s_etat_processus, j++); |
sf(s_etat_processus, (unsigned char) j++); |
} |
} |
} |
} |
|
|
for(; j <= 56; cf(s_etat_processus, j++)); |
for(; j <= 56; cf(s_etat_processus, (unsigned char) j++)); |
|
|
sf(s_etat_processus, 49); |
sf(s_etat_processus, 49); |
sf(s_etat_processus, 50); |
sf(s_etat_processus, 50); |