Work / Virtual Machine / Instruction Set

2012-01-14 21:38:14

Addressing



NEW (ALLOCATE HEAP STORAGE)

Usage:

1
2
3

new n, m ; comment
 

Operation:

  • operation

 


DEL (DEALLOCATE HEAP STORAGE)

Usage:

1
2
3

del n, m ; comment
 

Operation:

  • operation

 


LOAD (READ VALUE FROM ADDRESS)

Usage:

1
2
3

load    n, m ; comment
 

Operation:

  • operation

 


STOR (WRITE VALUE TO ADDRESS)

Usage:

1
2
3

stor    n, m ; comment
 

Operation:

  • operation

 


LODW (READ 16-BIT VALUE FROM ADDRESS)

Usage:

1
2
3

lodw    n, m ; comment
 

Operation:

  • operation

 


STOW (WRITE 16-BIT VALUE TO ADDRESS)

Usage:

1
2
3

stow    n, m ; comment
 

Operation:

  • operation

 


LODB (READ 8-BIT VALUE FROM ADDRESS)

Usage:

1
2
3

lodb    n, m ; comment
 

Operation:

  • operation

 


STOB (WRITE 8-BIT VALUE TO ADDRESS)

Usage:

1
2
3

stob    n, m ; comment
 

Operation:

  • operation

 


MMOV (COPY VALUE BETWEEN ADDRESSES)

Usage:

1
2
3

mmov    n, m ; comment
 

Operation:

  • operation

 


MMVB (COPY 8-BIT VALUE BETWEEN ADDRESSES)

Usage:

1
2
3

mmvb    n, m ; comment
 

Operation:

  • operation

 


MMVW (COPY 16-BIT VALUE BETWEEN ADDRESSES)

Usage:

1
2
3

mmvw    n, m ; comment
 

Operation:

  • operation

 


ADDR (GET LOCAL VARIABLE ADDRES)

Usage:

1
2
3

addr    n, m ; comment
 

Operation:

  • operation

 


SYMA (GET LOCAL SYMBOL ADDRESS)

Usage:

1
2
3

syma    n, m ; comment
 

Operation:

  • operation

 


PADR (PUSH LOCAL VARIABLE ADDRESS)

Usage:

1
2
3

padr    n, m ; comment
 

Operation:

  • operation