Actions
Task #5411
closed[template] Template constructs for data declaration
Start date:
11/07/2014
Due date:
% Done:
100%
Estimated time:
Detected in build:
svn
Published in build:
141230
Description
There is an urgent need to declare data (variables, arrays, etc.) in test templates and to use them to describe test scenarios.
What do we need?- A construct(s) to declare data of different types (sizes):
byte
,hword
,word
, anddword
(e.g., see MIPS directives.word
,.asciiz
, etc.). - A memory model that maps symbols to addresses (address of the i th item is calculated as follows:
addr(item[i]) = addr(item[i-1]) + size(item[i-1]) + allignment
; the first address is assumed to be0
). - A mechanism to load addresses to registers (like
la
(load address) MIPS pseudo-instruction).
Actions