--A1L4 is HS~1 at LC1
A1L4_or_out = Y;
A1L4 = X $ A1L4_or_out;


--A1L2 is CO~9 at LC2
A1L2_p1_out = X & Y;
A1L2_or_out = A1L2_p1_out;
A1L2 = A1L2_or_out;


--X is X at PIN_24
--operation mode is input

X = INPUT();


--Y is Y at PIN_21
--operation mode is input

Y = INPUT();


--HS is HS at PIN_4
--operation mode is output

HS = OUTPUT(A1L4);


--CO is CO at PIN_5
--operation mode is output

CO = OUTPUT(A1L2);






