Re: Bootloader - erase flash memory

From: Gerhard Hempl (gerhard.hempl.WANT_at_NO.SPAM.gmx.de)
Date: 11/17/04


Date: Wed, 17 Nov 2004 16:10:41 +0100

Thomas Baier wrote:
> The dissasembled code uses
> instructions like
> MEMMOV 0XAAAA, #0xAAAA, R3
> but I havn't found out what this instruction does and the assembler I use
> (Reads166 - Rigel Cooperation) doesn't even know it. So could anybody tell
> me what MEMMOV does? (google didn't help :'-( )

I don't know Reads166, but it is defninitely not the fault of the assembler.

I am pretty sure, that there is no such instruction available on a C16x CPU.
The correct version of the instruction would be something like
   mov 0xAAAA, R3
assuming that DPP2 contains the correct value.
I don't know the meaning of the second operand in your example.

What disassembler are you using that produces these funny mnemonics?
Are there any options to tell him that it should use the C16x
instruction set?

Best regards
Gerhard



Relevant Pages

  • Re: hla set up for the art of assembly
    ... are using it to teach assembly programming, ... Very assembler like: ... Note that HLA allows a form that lets you specify a constant. ... actually support a MUL or IMUL instruction that has a constant operand. ...
    (alt.lang.asm)
  • Re: Loading single word to a xmm register
    ... Certainly not the types of programming that is being done with SSE ... And keep in mind that if your assembler were running on a CPU prior to ... the advent of the SSE instruction set, then your assember ...
    (alt.lang.asm)
  • Re: HLA v1.86 is now available
    ... Which instruction do they know, when they the first time need ... Most students in the lab *would* be capable of loading a constant into ... you ought to learn Intel syntax and drop nonsense like this. ... Why is it important to "learn how to operate the assembler, ...
    (alt.lang.asm)
  • Re: [OT] On `ad hominem - OS X users
    ... This is as relevant as saying "The CPU may not support the ... language of your assembler files".... ... While an assembler language is supposed to be ... assembler instruction you mean and substitute it". ...
    (comp.lang.perl.modules)
  • Re: softwire for basm?
    ... Not necessarilly, but it definetely makes it more easier for humans to code, and it reduces the overall amount of code you'll have to maintain in the library (even when NOT using a preexisting assembler). ... Assembling is relatively mechanical and straightforward once you have understood the modRM / SIB stuff, remember that the first full-blown assemblers did fit in a dozen kB of code (most of it being instruction tables, rather than code), and the parsed output of a block of ASM is directly the assembled ASM. ... ASM registers are a limited ressource, easily injectable code will involve systematic pushing/popping and extra register traffic which can quickly end more costly than the calls. ...
    (borland.public.delphi.language.basm)