Intel 386 User Manual page 179

Embedded microprocessor
Table of Contents

Advertisement

Intel386™ EX EMBEDDED MICROPROCESSOR USER'S MANUAL
SetEXRegWordInline(CS2ADL,0x08700);
SetEXRegWordInline(CS2ADH,0x3);
SetEXRegWordInline(CS2MSKL,0x07C01);
SetEXRegWordInline(CS2MSKH,0x00);
_asm
{
mov ax,0x3800
mov es,ax
mov ax,seg SerialWriteStr2
mov ds,ax
mov cx,0x100
mov si,offset SerialWriteStr2
mov di,0
rep movsb
}
SetEXRegWordInline(CS2MSKL,0x7801); // Resets SRAM to enabled in SMM only
_asm
{
pop DI
pop SI
pop DS
pop ES
}
// Loop endlessly and display another serial message
while(1)
{
SerialWriteStr(SIO_PORT,SMMString);
}
}
/**************************** END MAIN **********************************/
7-20
// Enables SRAM as memory
// Copy SMM_EXAM.BIN code into SRAM
// Starting address for SMM_EXAM file
// to be placed
// Address where SMM_EXAM is located
// Length of SMM_EXAM file in bytes
// Restore register values
// Serial Write Loop

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Intel386 exIntel386 extbIntel386 extc

Table of Contents