Language:EN
Pages: 2
Words: 239
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
int int int booleanstdout stdout stdout stdout std

Int int int booleanstdout stdout stdout stdout stdout stdout stdout stdout stdin stdin stdin stdin stdin stdin stdin

Programmer's Reference to HLA Assembly Language
Typical Program Structure
    program progID;              
    #include( "stdlib.hhf" );
    static
       variable declarations
    begin progID;
       statements
    end progID;
Assembly Language Instructions
Instruction Syntax Description
MOV mov( source, dest ); dest = source;
ADD add( source, dest ); dest += source;
SUB sub( source, dest ); dest -= source;
SHL shl( count, dest ); shuffles left a total of count bits in dest operand; sets carry when count=1
SHR shr( count, dest ); shuffles right a total of count bits in dest operand; sets carry when count=1
SAR sar( count, dest ); shuffles right a total of count bits in dest operand; sets carry when count=1; leaves H.O. bit unchanged
ROL rol( count, dest ); rotates left a total of count bits in dest operand; sets carry when count=1
ROR ror( count, dest ); rotates right a total of count bits in dest operand; sets carry when count=1
NOT not( dest ); inverts the bits of the dest operand
AND and( source, dest ); bitwise logical AND; result placed in dest operand
OR or( source, dest ); bitwise inclusive OR; result placed in dest operand
XOR xor( source, dest ); bitwise exclusive OR; result placed in dest operand
LAHF lahf( ); pushes the lower 8 bits of EFLAGS register into AH
Available Datatypes

int8
int16
int32

boolean

 

Available I/O Routines

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Elias Manchus

PageId: DOC05C48E1