| kof888   Продвинутый
 
    
 Сообщений: 190
 Зарегистрирован: 29.06.2009
 Рейтинг: 5
 Сказал спасибо: 9Поблагодарили 62 раз(а) в 28 сообщ.
 
 | 
			| RE: how to use sh4dis.exe 
 
				Sorry, I'll reply to the post again
 I've learned to use sh elf as and sh elf objcopy, but I'd like to ask about the writing method
 
 There is no problem in the compilation of general assembly instructions, but writing instructions containing addresses either prompts an error or compiles an error. Can you tell me how to write?
 
 For example, there are no problems with the following
 mov.b	@r2+, r0
 mov.b	r0, @r3
 Add #1, R3
 TST R0, R0
 BF loc_C
 Mov R3, R0
 And #3, R0
 Mov #0, R2
 cmp/eq	#0, r0
 BT loc_38
 cmp/eq	#1, r0
 BT loc_2C
 cmp/eq	#2, r0
 BT loc_30
 cmp/eq	#3, r0
 BT loc_34
 
 is ok~
 
 
 But I don't know how to write The following
 
 mova @(h'44,pc), r0 ; [0000004C] = h'8Cf14000
 
 
 mov.l @(h'44,pc), r0 ; [8C0B757C] = sub_8C08D100
 
 
 mov.l #h'41474553, r5
 
 thank you for your reply~
 |  | 
	| 18.03.2020 17:27 |  |