I-7188ex's weird behaviour
<p>I have quite complex I/O program (written by someone else) for controller ICPDAS i-7188ex and I am writing a library (.lib) for it that does some calculations based on data from that program. </p>

<p>Problem is, if I import function with only one line printf("123") and embed it inside I/O, program crashes at some point. Without imported function I/O works fine, same goes for imported function without I/O.</p>

<p>Maybe it is a memory issue but why should considerable memory be allocated for function which only outputs a string? Or I am completely wrong?</p>

<p>I am using Borland C++ 3.1. And yes, I can't use anything newer since controller takes only 80186 instruction set.</p>