dreamcast/dreamcast2/regs/sh7091/sh7091_bits.csv
2025-08-24 11:10:55 -05:00

20 KiB

1blockregister_nameenum_namebitsbit_namevaluemaskdescription
2CCNPTEH31-10VPNVirtual Page Number
3CCNPTEH7-0ASIDAddress space identifier
4
5CCNPTEL28-10PPNPhysical page number
6CCNPTELV8invalid0Validity
7CCNPTELV8valid1Validity
8CCNPTELSZ7,41_kbyte_page0b0000Page size
9CCNPTELSZ7,44_kbyte_page0b0001Page size
10CCNPTELSZ7,464_kbyte_page0b1000Page size
11CCNPTELSZ7,41_mbyte_page0b1001Page size
12CCNPTELPR6-5read_only_in_privileged_mode0b00Protection key data
13CCNPTELPR6-5read_write_in_privileged_mode0b01Protection key data
14CCNPTELPR6-5read_only_in_privileged_and_user_mode0b10Protection key data
15CCNPTELPR6-5read_write_in_privileged_and_user_mode0b11Protection key data
16CCNPTELC3not_cacheable0Cacheability bit
17CCNPTELC3cacheable1Cacheability bit
18CCNPTELD2write_has_not_been_performed0Dirty bit
19CCNPTELD2write_has_been_performed1Dirty bit
20CCNPTELSH1pages_are_shared_by_processes0Share status bit
21CCNPTELSH1pages_are_not_shared_by_processes1Share status bit
22CCNPTELWT0copy_back_mode0Write-through bit
23CCNPTELWT0write_through_mode1Write-through bit
24
25CCNMMUCR31-26LRUILeast recently used ITLB
26CCNMMUCR23-18URBUTLB replace boundary
27CCNMMUCR15-10URCUTLB replace counter
28CCNMMUCRSQMD9user_privileged_access_possible0Store queue mode bit
29CCNMMUCRSQMD9privileged_access_possible1Store queue mode bit
30CCNMMUCRSV8multiple_virtual_memory_mode0Single virtual mode bit
31CCNMMUCRSV8single_virtual_memory_mode1Single virtual mode bit
32CCNMMUCRTI2invalidate_all_utlb_itlb_bits1TLB invalidate
33CCNMMUCRAT0mmu_disabled0Address translation bit
34CCNMMUCRAT0mmu_enabled1Address translation bit
35
36CCNBASRA7-0basa0xff
37
38CCNBASRB7-0basa0xff
39
40CCNCCRIIX15address_bits_12_5_used_for_ic_entry_selection0IC index enable
41CCNCCRIIX15address_bits_25_and_11_5_used_for_ic_entry_selection1IC index enable
42CCNCCRICI11clear_v_bits_of_all_ic_entries1IC invalidation
43CCNCCRICE8ic_not_used0IC enable
44CCNCCRICE8ic_used1IC enable
45CCNCCROIX7address_bits_13_5_used_for_oc_entry_selection0OC index enable
46CCNCCROIX7address_bits_25_and_12_5_used_for_oc_entry_selection1OC index enable
47CCNCCRORA516_kbytes_used_as_cache0OC RAM enable
48CCNCCRORA58_kbytes_used_as_cache_8_kbytes_used_as_ram1OC RAM enable
49CCNCCROCI3clear_v_and_u_bits_of_all_oc_entries1OC invalidation
50CCNCCRCB2write_through_mode0Copy-back enable
51CCNCCRCB2copy_back_mode1Copy-back enable
52CCNCCRWT1copy_back_mode0Write-through enable
53CCNCCRWT1write_through_mode1Write-through enable
54CCNCCROCE0oc_not_used0OC enable
55CCNCCROCE0oc_used1OC enable
56
57CCNTRA9-2imm
58
59CCNEXPEVT11-0exception_code
60
61CCNINTEVT11-0exception_code
62
63CCNPTEATC3area_5_is_used0Timing control bit
64CCNPTEATC3area_6_is_used1Timing control bit
65CCNPTEASA2-0undefined0b000Space attribute bits
66CCNPTEASA2-0variable_size_io_space0b001Space attribute bits
67CCNPTEASA2-08_bit_io_space0b010Space attribute bits
68CCNPTEASA2-016_bit_io_space0b011Space attribute bits
69CCNPTEASA2-08_bit_common_memory_space0b100Space attribute bits
70CCNPTEASA2-016_bit_common_memory_space0b101Space attribute bits
71CCNPTEASA2-08_bit_attribute_memory_space0b110Space attribute bits
72CCNPTEASA2-016_bit_attribute_memory_space0b111Space attribute bits
73
74CCNQACR04-2area0b111
75
76CCNQACR14-2area0b111
77
78DMACDMATCR23-0transfer_count0xffffff
79
80DMACCHCRSSA31-29reserved_in_pcmcia_access0b000
81DMACCHCRSSA31-29dynamic_bus_sizing_io_space0b001
82DMACCHCRSSA31-298_bit_io_space0b010
83DMACCHCRSSA31-2916_bit_io_space0b011
84DMACCHCRSSA31-298_bit_common_memory_space0b100
85DMACCHCRSSA31-2916_bit_common_memory_space0b101
86DMACCHCRSSA31-298_bit_attribute_memory_space0b110
87DMACCHCRSSA31-2916_bit_attribute_memory_space0b111
88DMACCHCRSTC28c5_space_wait_cycle_selection0
89DMACCHCRSTC28c6_space_wait_cycle_selection1
90DMACCHCRDSA27-25reserved_in_pcmcia_access0b000
91DMACCHCRDSA27-25dynamic_bus_sizing_io_space0b001
92DMACCHCRDSA27-258_bit_io_space0b010
93DMACCHCRDSA27-2516_bit_io_space0b011
94DMACCHCRDSA27-258_bit_common_memory_space0b100
95DMACCHCRDSA27-2516_bit_common_memory_space0b101
96DMACCHCRDSA27-258_bit_attribute_memory_space0b110
97DMACCHCRDSA27-2516_bit_attribute_memory_space0b111
98DMACCHCRDTC24c5_space_wait_cycle_selection0
99DMACCHCRDTC24c6_space_wait_cycle_selection1
100DMACCHCRDS19low_level_detection0
101DMACCHCRDS19falling_edge_detection1
102DMACCHCRRL18drak_is_an_active_high0
103DMACCHCRRL18drak_is_an_active_low1
104DMACCHCRAM17dack_is_output_in_read_cycle0
105DMACCHCRAM17dack_is_output_in_write_cycle1
106DMACCHCRAL16active_high_output0
107DMACCHCRAL16active_low_output1
108DMACCHCRDM15-14destination_address_fixed0b00
109DMACCHCRDM15-14destination_address_incremented0b01
110DMACCHCRDM15-14destination_address_decremented0b10
111DMACCHCRSM13-12source_address_fixed0b00
112DMACCHCRSM13-12source_address_incremented0b01
113DMACCHCRSM13-12source_address_decremented0b10
114DMACCHCRRS11-8resource_select0b1111
115DMACCHCRTM7cycle_steal_mode0
116DMACCHCRTM7cycle_burst_mode1
117DMACCHCRTS6-464_bit0b000
118DMACCHCRTS6-48_bit0b001
119DMACCHCRTS6-416_bit0b010
120DMACCHCRTS6-432_bit0b011
121DMACCHCRTS6-432_byte0b100
122DMACCHCRIE2interrupt_request_not_generated0
123DMACCHCRIE2interrupt_request_generated1
124DMACCHCRTE1transfers_not_completed0
125DMACCHCRTE1transfers_completed1
126DMACCHCRDE0channel_operation_disabled0
127DMACCHCRDE0channel_operation_enabled1
128
129DMACDMAORDDT15normal_dma_mode0
130DMACDMAORDDT15on_demand_data_transfer_mode1
131DMACDMAORPR9-8ch0_ch1_ch2_ch30b00
132DMACDMAORPR9-8ch0_ch2_ch3_ch10b01
133DMACDMAORPR9-8ch2_ch0_ch1_ch30b10
134DMACDMAORPR9-8round_robin0b11
135DMACDMAORAE2no_address_error__dma_transfer_enabled0
136DMACDMAORAE2address_error__dma_transfer_disabled1
137DMACDMAORNMIF1no_nmi__dma_transfer_enabled0
138DMACDMAORNMIF1nmi__dma_transfer_disabled1
139DMACDMAORDME0operation_disabled_on_all_channels0
140DMACDMAORDME0operation_enabled_on_all_channels1
141
142INTCICRNMIL15pin_input_level_is_low0
143INTCICRNMIL15pin_input_level_is_high1
144INTCICRMAI14interrupts_enabled_while_nmi_pin_is_low0
145INTCICRMAI14interrupts_disabled_while_nmi_pin_is_low1
146INTCICRNMIB9interrupt_requests_witheld0
147INTCICRNMIB9interrupt_requests_detected1
148INTCICRNMIE8interrupt_on_falling_edge_of_nmi0
149INTCICRNMIE8interrupt_on_rising_edge_of_nmi1
150INTCICRIRLM7level_encoded_interrupt_requests0
151INTCICRIRLM7independent_interrupt_request1
152
153INTCIPRA15-12TMU00b1111
154INTCIPRA11-8TMU10b1111
155INTCIPRA7-4TMU20b1111
156INTCIPRA3-0RTC0b1111
157
158INTCIPRB15-12WDT0b1111
159INTCIPRB11-8REF0b1111
160INTCIPRB7-4SCI10b1111
161
162INTCIPRC15-12GPIO0b1111
163INTCIPRC11-8DMAC0b1111
164INTCIPRC7-4SCIF0b1111
165INTCIPRC3-0UDI0b1111
166
167TMUTOCRTCOE0tclk_is_external_clock_or_input_capture0Timer Clock Pin Control
168TMUTOCRTCOE0tclk_is_on_chip_rtc1Timer Clock Pin Control
169
170TMUTSTRSTR22counter_start1Counter Start 2
171TMUTSTRSTR11counter_start1Counter Start 1
172TMUTSTRSTR00counter_start1Counter Start 0
173
174TMUTCR08UNF1Underflow Flag
175TMUTCR05UNIE1Underflow Interrupt Control
176TMUTCR0CKEG4-3rising0b00Clock Edge
177TMUTCR0CKEG4-3falling0b01Clock Edge
178TMUTCR0CKEG4-3rising_falling0b10Clock Edge
179TMUTCR0TPSC2-0p_phi_40b000Timer Prescaler
180TMUTCR0TPSC2-0p_phi_160b001Timer Prescaler
181TMUTCR0TPSC2-0p_phi_640b010Timer Prescaler
182TMUTCR0TPSC2-0p_phi_2560b011Timer Prescaler
183TMUTCR0TPSC2-0p_phi_10240b100Timer Prescaler
184TMUTCR0TPSC2-0rtc_output0b110Timer Prescaler
185TMUTCR0TPSC2-0external0b111Timer Prescaler
186
187TMUTCR18UNF1Underflow Flag
188TMUTCR15UNIE1Underflow Interrupt Control
189TMUTCR1CKEG4-3rising0b00Clock Edge
190TMUTCR1CKEG4-3falling0b01Clock Edge
191TMUTCR1CKEG4-3rising_falling0b10Clock Edge
192TMUTCR1TPSC2-0p_phi_40b000Timer Prescaler
193TMUTCR1TPSC2-0p_phi_160b001Timer Prescaler
194TMUTCR1TPSC2-0p_phi_640b010Timer Prescaler
195TMUTCR1TPSC2-0p_phi_2560b011Timer Prescaler
196TMUTCR1TPSC2-0p_phi_10240b100Timer Prescaler
197TMUTCR1TPSC2-0rtc_output0b110Timer Prescaler
198TMUTCR1TPSC2-0external0b111Timer Prescaler
199
200TMUTCR29ICPF1Input Capture Interrupt Flag
201TMUTCR28UNF1Underflow Flag
202TMUTCR2ICPE7-6disabled0b00Input Capture Control
203TMUTCR2ICPE7-6enabled0b10Input Capture Control
204TMUTCR2ICPE7-6enabled_with_interrupts0b11Input Capture Control
205TMUTCR25UNIE1Underflow Interrupt Control
206TMUTCR2CKEG4-3rising0b00Clock Edge
207TMUTCR2CKEG4-3falling0b01Clock Edge
208TMUTCR2CKEG4-3rising_falling0b10Clock Edge
209TMUTCR2TPSC2-0p_phi_40b000Timer Prescaler
210TMUTCR2TPSC2-0p_phi_160b001Timer Prescaler
211TMUTCR2TPSC2-0p_phi_640b010Timer Prescaler
212TMUTCR2TPSC2-0p_phi_2560b011Timer Prescaler
213TMUTCR2TPSC2-0p_phi_10240b100Timer Prescaler
214TMUTCR2TPSC2-0rtc_output0b110Timer Prescaler
215TMUTCR2TPSC2-0external0b111Timer Prescaler
216
217SCIFSCSMR2CHR68_bit_data0
218SCIFSCSMR2CHR67_bit_data1
219SCIFSCSMR2PE5parity_disabled0
220SCIFSCSMR2PE5parity_enabled1
221SCIFSCSMR2OE4even_parity0
222SCIFSCSMR2OE4odd_parity1
223SCIFSCSMR2STOP31_stop_bit0
224SCIFSCSMR2STOP32_stop_bits1
225SCIFSCSMR2CKS1-0p_phi_clock0b00
226SCIFSCSMR2CKS1-0p_phi_4_clock0b01
227SCIFSCSMR2CKS1-0p_phi_16_clock0b10
228SCIFSCSMR2CKS1-0p_phi_64_clock0b11
229
230SCIFSCSCR2TIE7transmit_fifo_data_empty_interrupt_disabled0
231SCIFSCSCR2TIE7transmit_fifo_data_empty_interrupt_enabled1
232SCIFSCSCR2RIE6request_disabled0
233SCIFSCSCR2RIE6request_enabled1
234SCIFSCSCR2TE5transmission_disabled0
235SCIFSCSCR2TE5transmission_enabled1
236SCIFSCSCR2RE4reception_disabled0
237SCIFSCSCR2RE4reception_enabled1
238SCIFSCSCR2REIE3requests_disabled0
239SCIFSCSCR2REIE3requests_enabled1
240SCIFSCSCR2CKE11sck2_pin_functions_as_input_pin0
241SCIFSCSCR2CKE11sck2_pin_functions_as_clock_input1
242
243SCIFSCFSR2PER3_015-12number_of_parity_errors
244SCIFSCFSR2FER3_011-8number_of_framing_errors
245SCIFSCFSR2ER7no_framing_error_or_parity_error0
246SCIFSCFSR2ER7framing_error_or_parity_error1
247SCIFSCFSR2TEND6transmission_in_progress0
248SCIFSCFSR2TEND6transmission_has_ended1
249SCIFSCFSR2TDFE5transmit_data_bytes_does_exceed_trigger0
250SCIFSCFSR2TDFE5transmit_data_bytes_does_not_exceed_trigger1
251SCIFSCFSR2BRK4break_not_received0
252SCIFSCFSR2BRK4break_received1
253SCIFSCFSR2FER3no_framing_error0
254SCIFSCFSR2FER3framing_error1
255SCIFSCFSR2PER2parity_error0
256SCIFSCFSR2PER2no_parity_error1
257SCIFSCFSR2RDF1receive_data_bytes_less_than_receive_trigger0
258SCIFSCFSR2RDF1receive_data_bytes_greater_than_or_equal_receive_trigger1
259SCIFSCFSR2DR0reception_is_in_progress0
260SCIFSCFSR2DR0no_further_data_has_arrived1
261
262SCIFSCFCR2RTRG7-6trigger_on_1_byte0b00
263SCIFSCFCR2RTRG7-6trigger_on_4_bytes0b01
264SCIFSCFCR2RTRG7-6trigger_on_8_bytes0b10
265SCIFSCFCR2RTRG7-6trigger_on_14_byte0b11
266SCIFSCFCR2TTRG5-4trigger_on_8_bytes0b00
267SCIFSCFCR2TTRG5-4trigger_on_4_bytes0b01
268SCIFSCFCR2TTRG5-4trigger_on_2_bytes0b10
269SCIFSCFCR2TTRG5-4trigger_on_1_bytes0b11
270SCIFSCFCR2MCE3modem_signals_disabled0
271SCIFSCFCR2MCE3modem_signals_enabled1
272SCIFSCFCR2TFRST2reset_operation_disabled0
273SCIFSCFCR2TFRST2reset_operation_enabled1
274SCIFSCFCR2RFRST1reset_operation_disabled0
275SCIFSCFCR2RFRST1reset_operation_enabled1
276SCIFSCFCR2LOOP0loopback_test_disabled0
277SCIFSCFCR2LOOP0loopback_test_enabled1
278
279SCIFSCFDR212-8transmit_data_bytes
280SCIFSCFDR24-0receive_data_bytes
281
282SCIFSCSPTR2RTSIO7rtsdt_not_output_to_rts20
283SCIFSCSPTR2RTSIO7rtsdt_output_to_rts21
284SCIFSCSPTR2RTSDT6input_output_data_is_low_level0
285SCIFSCSPTR2RTSDT6input_output_data_is_high_level1
286SCIFSCSPTR2CTSIO5ctsdt_is_not_output_to_cts20
287SCIFSCSPTR2CTSIO5ctsdt_is_output_to_cts21
288SCIFSCSPTR2CTSDT4input_output_data_is_low_level0
289SCIFSCSPTR2CTSDT4input_output_data_is_high_level1
290SCIFSCSPTR2SPB2IO1spb2dt_is_not_output_to_txd20
291SCIFSCSPTR2SPB2IO1spb2dt_is_output_to_txd21
292SCIFSCSPTR2SPB2DT0input_output_data_is_low_level0
293SCIFSCSPTR2SPB2DT0input_output_data_is_high_level1
294
295SCIFSCLSR2ORER0overrun_error_occured1
296
297SHSR30md1
298SHSR29rb1
299SHSR28bl1
300SHSR15fd1
301SHSR9m1
302SHSR8q1
303SHSR7-4imask0b1111
304SHSR1s1
305SHSR0t1
306
307SHFPSCR21fr1
308SHFPSCR20sz1
309SHFPSCR19pr1
310SHFPSCR18dn1
311SHFPSCRCAUSE17-12fpu_error0b100000
312SHFPSCRCAUSE17-12invalid_operation0b010000
313SHFPSCRCAUSE17-12division_by_zero0b001000
314SHFPSCRCAUSE17-12overflow0b000100
315SHFPSCRCAUSE17-12underflow0b000010
316SHFPSCRCAUSE17-12inexact0b000001
317SHFPSCRENABLED11-7invalid_operation0b10000
318SHFPSCRENABLED11-7division_by_zero0b01000
319SHFPSCRENABLED11-7overflow0b00100
320SHFPSCRENABLED11-7underflow0b00010
321SHFPSCRENABLED11-7inexact0b00001
322SHFPSCRFLAG6-2invalid_operation0b10000
323SHFPSCRFLAG6-2division_by_zero0b01000
324SHFPSCRFLAG6-2overflow0b00100
325SHFPSCRFLAG6-2underflow0b00010
326SHFPSCRFLAG6-2inexact0b00001
327SHFPSCRRM1-0round_to_nearest0b00
328SHFPSCRRM1-0round_to_zero0b01
329
330UBCBAMRABAMA3,1,0all_bara_bits_are_included_in_break_conditions0b0000
331UBCBAMRABAMA3,1,0lower_10_bits_of_bara_are_not_included_in_break_conditions0b0001
332UBCBAMRABAMA3,1,0lower_12_bits_of_bara_are_not_included_in_break_conditions0b0010
333UBCBAMRABAMA3,1,0all_bara_bits_are_not_included_in_break_conditions0b0011
334UBCBAMRABAMA3,1,0lower_16_bits_of_bara_are_not_included_in_break_conditions0b1000
335UBCBAMRABAMA3,1,0lower_20_bits_of_bara_are_not_included_in_break_conditions0b1001
336UBCBAMRABASMA2all_basra_bits_are_included_in_break_conditions0
337UBCBAMRABASMA2no_basra_bits_are_included_in_break_conditions1
338
339UBCBBRASZA6,1,0operand_size_is_not_included_in_break_conditions0b00
340UBCBBRASZA6,1,0byte_access_is_used_as_break_condition0b01
341UBCBBRASZA6,1,0word_access_is_used_as_break_condition0b10
342UBCBBRASZA6,1,0longword_access_is_used_as_break_condition0b11
343UBCBBRASZA6,1,0quadword_access_is_used_as_break_condition0b1000000
344UBCBBRAIDA5-4condition_comparison_is_not_performed0b00
345UBCBBRAIDA5-4instruction_access_cycle_is_used_as_break_condition0b01
346UBCBBRAIDA5-4operand_access_cycle_is_used_as_break_condition0b10
347UBCBBRAIDA5-4instruction_access_cycle_or_operand_access_cycle_is_used_as_break_condition0b11
348UBCBBRARWA3-2condition_comparison_is_not_performed0b00
349UBCBBRARWA3-2read_cycle_is_used_as_break_condition0b01
350UBCBBRARWA3-2write_cycle_is_used_as_break_condition0b10
351UBCBBRARWA3-2read_cycle_or_write_cycle_is_used_as_break_condition0b11
352
353UBCBRCRCMFA15channel_a_break_condition_is_not_matched0
354UBCBRCRCMFA15channel_a_break_condition_match_has_occured1
355UBCBRCRCMFB14channel_b_break_condition_is_not_matched0
356UBCBRCRCMFB14channel_b_break_condition_match_has_occured1
357UBCBRCRPCBA10channel_a_pc_break_is_effected_before_instruction_execution0
358UBCBRCRPCBA10channel_a_pc_break_is_effected_after_instruction_execution1
359UBCBRCRDBEB7data_bus_condition_is_not_included_in_channel_b_conditions0
360UBCBRCRDBEB7data_bus_condition_is_included_in_channel_b_conditions1
361UBCBRCRPCBB6channel_b_pc_break_is_effected_before_instruction_execution0
362UBCBRCRPCBB6channel_b_pc_break_is_effected_after_instruction_execution1
363UBCBRCRSEQ3channel_a_and_b_comparison_are_performed_as_independent_condition0
364UBCBRCRSEQ3channel_a_and_b_comparison_are_performed_as_sequential_condition1
365UBCBRCRUBDE0user_break_debug_function_is_not_used0
366UBCBRCRUBDE0user_break_debug_function_is_used1