Project

General

Profile

Actions

Task #5411

closed

[template] Template constructs for data declaration

Added by Alexander Kamkin over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
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?
  1. A construct(s) to declare data of different types (sizes): byte, hword, word, and dword (e.g., see MIPS directives .word, .asciiz, etc.).
  2. 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 be 0).
  3. A mechanism to load addresses to registers (like la (load address) MIPS pseudo-instruction).
Actions

Also available in: Atom PDF