This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

inserting assembly code

Hello people

Could someone please tell me how to do this:

'The following assembly code must be included in your application. Its purpose is to set an LJMP into the AutoVector table at address 4000h..'

cseg at 43h
ljmp 4000h
end

It is taken from an Ap note for the Cypress EZ-USB FX family.

There is a thread which does this (more or less) but I do not understand it (I am new to this compiler). Any help would be kindly received.

Thanks in advance

Richard