DIY PROM Do It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.

COM op code

Thread Tools
 
Search this Thread
 
Old 03-24-2005, 01:45 AM
  #1  
Z69
Supreme Member

Thread Starter
 
Z69's Avatar
 
Join Date: Sep 2003
Location: Texas
Posts: 1,409
Likes: 0
Received 1 Like on 1 Post
COM op code

Wasn't sure of a good subject header....

I have a ram variable that I want to work with that
ranges from 255>0. I want to use it for a look up table.
This would require me to invert the table to match.
While this works, it looks screwy.
How would I go about changing the ram variable to range from 0>255 after loading it to an ACC?
Old 03-24-2005, 07:07 AM
  #2  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,405
Likes: 0
Received 216 Likes on 202 Posts
Car: check
Engine: check
Transmission: check
As you are thinking the COM instruction is the correct one. Load the variable into reg A and COMA it (or reg B and COMB it). It is a straight 1's compliment.

Rbob.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
89-IROCZ-5.0TPI
TPI
10
02-22-2022 09:26 PM
Falcon50
DFI and ECM
81
08-22-2020 03:26 PM
racereese
Tech / General Engine
14
10-03-2015 03:46 PM
Luigytico09
TPI
0
10-01-2015 08:46 AM
dusterbd
TPI
0
09-29-2015 08:40 AM



Quick Reply: COM op code



All times are GMT -5. The time now is 12:37 PM.