We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello All,
Total assembly noob here, apologies in advance if my problem is trivial. I am working on a project that requires making an adjustment to code written in '91. The MCU is an OKI/LAPIS 80C31F. I believe the original assembler was a 2500AD. I am currently trying to assemble using the A51. I have had to make a handful of adjustments to the code in order to have the A51 assemble, but I am hung up on one translation.
MOV R5,#<M_PPU_DFLT MOV R6,#>M_PPU_DFLT . . . MOV R6,#<20000 MOV R7,#>20000
The original author used a ton of these instructions, they are always MOV Rn,#immediate. Sometimes the #immediate is a symbol, other times it is a decimal number. But, they are always preceded by the '<' or '>' operator.
The assembler kicks back a syntax error for these statements. What can I do to alter this code in a way that the A51 will except it without losing the functionality of the instruction?
Thank you for your help.
Perfect, thank you. The LOW and HIGH are exactly what I was missing. Problem solved.