HT-PICC & 32bit

Исполняю в HT-PICC следующий код:

long a1; int a2; a2 = 0x2222; a1 = a2 * 16;

Получаю a1 = 0x00002220, а не 0x00022220; Что не так? Почему не работают операции над 32-разрядными числами? Мож, директиву какую включить?

ЗЫ Как отлаживать проги на Си? А то ковырять машинный код, ставя в нём брекпоинты - кисло.

Reply to
Eugene Zhernovoy
Loading thread data ...
Reply to
Alexey V Bugrov
Reply to
Alex Mogilnikov
Reply to
Vitaliy Romaschenko
Reply to
Vladimir Vassilevsky
Reply to
Alexey V Bugrov
Reply to
Vladimir Vassilevsky
Reply to
Alexander Torres
Reply to
Alexey V Bugrov
Reply to
Alex Mogilnikov
Reply to
Vladimir Vassilevsky

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.