A thin-film microprocessor with inkjet print-programmable memory