retroforth/interfaces/pascal/nga.inc
crc c8347b515a update the pascal implementation to support new instructions
FossilOrigin-Name: 96de198c5eb91ba70cba3e7e9b9bcb99374cefe2b54e3f44e2bef8af1ac96c4a
2018-11-22 02:01:52 +00:00

20 lines
553 B
PHP

// ********************************************************
// Copyright (c) 2016 Rob Judd <judd@ob-wan.com>
// Copyright (c) 2018 Charles Childers <crc@forthworks.com>
// Based on C version by Charles Childers et al
// ISC License - see included file LICENSE
// ********************************************************
type
Cell = Longint;
const
STACK_DEPTH = 32;
ADDRESSES = 128;
IMAGE_SIZE = 524288;
NUM_OPS = 30;
{$define TOS := data[sp]}
{$define NOS := data[sp-1]}
{$define TOA := address[ap]}