C to EU
Hello,
I have definition in C and I need convert it to Euphoria.
Please tell me if I wrong.
/*- C-*/
#define PM_SHORT 0x20000000L /* Short */
#define PM_FW 0x00000000L /* Firmware Parameter */
#define PM_DXXX 0x00000000L /* D/xxx Parameter */
#define PM_BD 0x00800000L /* Board Level Parameter */
#define DXBD_R_ON ((PM_SHORT|PM_FW|PM_DXXX|PM_BD) | 0x0409L)
/*- Euphoria -*/
global constant PM_SHORT=#20000000
global constant PM_FW = #00000000
global constant PM_DXXX=#00000000
global constant PT_BD=#00800000
global constant DXBD_R_ON = or_bits(#0409,(or_bits(PM_BD, (or_bits(PM_DXXX,
(or_bits(PM_SHORT, PM_FW))))
Thanks Vlado
|
Not Categorized, Please Help
|
|