elsif instruction = conv_std_logic_vector(16#d6#, dsize) then
--zp, x
d_print("dec");
+ a4_zp_x;
+ if exec_cycle = T5 then
+ set_nz_from_bus;
+ end if;
elsif instruction = conv_std_logic_vector(16#ce#, dsize) then
--abs
elsif instruction = conv_std_logic_vector(16#de#, dsize) then
--abs, x
d_print("dec");
+ a4_abs_x;
+ if exec_cycle = T6 then
+ set_nz_from_bus;
+ end if;
elsif instruction = conv_std_logic_vector(16#e6#, dsize) then
--zp
elsif instruction = conv_std_logic_vector(16#f6#, dsize) then
--zp, x
d_print("inc");
+ a4_zp_x;
+ if exec_cycle = T5 then
+ set_nz_from_bus;
+ end if;
elsif instruction = conv_std_logic_vector(16#ee#, dsize) then
--abs
elsif instruction = conv_std_logic_vector(16#fe#, dsize) then
--abs, x
d_print("inc");
+ a4_abs_x;
+ if exec_cycle = T6 then
+ set_nz_from_bus;
+ end if;
elsif instruction = conv_std_logic_vector(16#46#, dsize) then
--zp