Next: , Previous: SCORE-Opts, Up: SCORE-Dependent


9.42.2 SCORE Assembler Directives

A number of assembler directives are available for SCORE. The following table is far from complete.

.set nwarn
Let the assembler not to generate warnings if the source machine language instructions happen data dependency.
.set fixdd
Let the assembler to insert bubbles (32 bit nop instruction / 16 bit nop! Instruction) if the source machine language instructions happen data dependency.
.set nofixdd
Let the assembler to generate warnings if the source machine language instructions happen data dependency. (Default)
.set r1
Let the assembler not to generate warnings if the source program uses r1. allow user to use r1
set nor1
Let the assembler to generate warnings if the source program uses r1. (Default)
.sdata
Tell the assembler to add subsequent data into the sdata section
.rdata
Tell the assembler to add subsequent data into the rdata section
.frame "frame-register", "offset", "return-pc-register"
Describe a stack frame. "frame-register" is the frame register, "offset" is the distance from the frame register to the virtual frame pointer, "return-pc-register" is the return program register. You must use ".ent" before ".frame" and only one ".frame" can be used per ".ent".
.mask "bitmask", "frameoffset"
Indicate which of the integer registers are saved in the current function's stack frame, this is for the debugger to explain the frame chain.
.ent "proc-name"
Set the beginning of the procedure "proc_name". Use this directive when you want to generate information for the debugger.
.end proc-name
Set the end of a procedure. Use this directive to generate information for the debugger.
.bss
Switch the destination of following statements into the bss section, which is used for data that is uninitialized anywhere.