Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Learn Holtek assembly programming ...

Status
Not open for further replies.

burningmosfet

Member level 1
Joined
Sep 13, 2010
Messages
38
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,579
Hello everybody, probably soon I'll start working with Holtek mcu and a lot of people recommended me to write in assembly code because it seems that the Holtek C- compiler is not optimized for new entry mcus. Could someone suggest a good book to start programming in assembly (Like kernighan ritchie for c?); i know that asm programming is strictly dependent to the architecture so if someone knows where to find any app. notes that clearly teach for holtek mcu i would appreciate it... Best Regards.. B.M
 

There must be a very good reason why you picked Holtek and not Microchip or 8051 based products. These commercial products have lots of development support and a vast amount of example code. Why Holtek?
 
Last edited:

There must be a very good reason why you picked Holtek and not Microchip or 8051 based products. These commercial products have lots of development support and a vast amount of example code. Why Holtek?

Basically for Price
 

Holtek are the cheapest micro available on the market so using Holtek for big volume is a good idea. Some of the Holtek micro are very similar to PIC - for example HT82K68 has only one or two minor changes cmpared to PIC assembly. There was a HiTech (Embedded C Compilers and Tools for Software Development: HI-TECH Software) Holtek C compiler - I know this because I used it, but when I go on HiTech site I don't see it.
The build in C compiler in the HOLTEK IDE is also not that bad
 

so it explains why I can't find the Holtek compiler on their site. It's pity - the C compiler for Holtek I used was quite good and efficient. In fact if you can find some copy of this compiler you can adjust it to the new controllers - in most of the cases you need only to change some definition tables - the instruction set is practically the same. Several years ago our company needed such compiler and I contacted and convinced HiTech to start making Holtek compiler, they did the job in few months because it's very similar to PIC compiler.

Writing assembler code is quite unefficient - it takes much longer, the code is unstable and not portable. Is the HOLTEK IDE compiler (payfree) not working for the new parts?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top