HPlogo System Debug Reference Manual > Chapter 10 System Debug Standard Functions

func tcb

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Returns the real address of a process' TCB (task control block).

Syntax



   tcb (pin)

Formal Declaration



   tcb:u32 (pin:u16)

Parameters


pin

The process identification number (PIN) for which the real address of the TCB is to be returned.

Examples



   $nmdebug > wl tcb(8)
   $8b5480

Display the real address of the task control block for process 8.

   $nmdebug > dz tcb(8),4
   REAL $008b5480   $ 40200000 40260000 000000000 00000000

Display real memory for four words at the real address of the task control block.

   $nmdebug > dv 0.tcb(8),4
   VIRT $0.8b5480   $ 40200000 40260000 000000000 00000000

The real address can also be used as virtual address by using the space ID (SID) of zero (0), and the real address as the virtual offset.

Limitations, Restrictions


none




func sys


func trans