27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ACPI Source Language (ASL)Reference<br />

// example 1<br />

If (And (Local0, 4))<br />

{<br />

XOr (Local0, 4, Local0)<br />

}<br />

// example 2<br />

Store (4, Local2)<br />

If (And (Local0, Local2))<br />

{<br />

XOr (Local0, Local2, Local0)<br />

}<br />

19.6.58 Include (Include Additional ASL File)<br />

Syntax<br />

Include (FilePathName)<br />

Arguments<br />

FilePathname is a StringData data type that contains the full OS file system path.<br />

Description<br />

Include another file that contains ASL terms to be inserted in the current file of ASL terms. The file<br />

must contain elements that are grammatically correct in the current scope.<br />

Example<br />

Include ("dataobj.asl")<br />

19.6.59 Increment (Integer Increment)<br />

Syntax<br />

Increment (Addend) => Integer<br />

Destination = Source [Index] => ObjectReference<br />

Addend++ => Integer<br />

Arguments<br />

Addend is evaluated as an Integer.<br />

Description<br />

Add one to the Addend <strong>and</strong> place the result back in Addend. Equivalent to Add (Addend, 1,<br />

Addend). Overflow conditions are ignored <strong>and</strong> the result of an overflow is zero.<br />

Version 6.0 847

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!