Confused about variables
|
02-24-2016, 12:31 PM
Post: #1
|
|||
|
|||
Confused about variables
Hello again,
I have been working on my 8080 emulator project, and I've so far been simply using variables to hold the data fetched out of a single column matrix as an instruction, or the contents of an emulated 8080 data register. This has been fine for coding up the MOV, LDA, STA, INR, DCR type of instructions, but the arithmetic instructions need to do the arithmetic properly. I am confused about variables in PPL. Is there a way to specifically declare a variable to be an integer? I see the integer arithmetic commands, but I have not been able to find how to constrain a variable to be an 8 bit or 16 bit integer. Thanks very much, in advance, for your patience and advice. smp |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Confused about variables - smp - 02-24-2016 12:31 PM
RE: Confused about variables - Tim Wessman - 02-24-2016, 03:05 PM
RE: Confused about variables - smp - 02-25-2016, 12:55 AM
RE: Confused about variables - cyrille de brébisson - 02-25-2016, 06:22 AM
RE: Confused about variables - smp - 02-26-2016, 09:58 PM
RE: Confused about variables - cyrille de brébisson - 02-29-2016, 06:14 AM
RE: Confused about variables - smp - 02-29-2016, 05:25 PM
|
User(s) browsing this thread: 1 Guest(s)