* patch by Christo Crause: more descriptive error message when BRxx destination out of reach

git-svn-id: trunk@38340 -
This commit is contained in:
florian 2018-02-25 15:31:17 +00:00
parent 8ba434b2f4
commit 62df4a4083
4 changed files with 333 additions and 328 deletions

View File

@ -449,7 +449,7 @@ implementation
(taicpu(curtai).InsOffset-taicpu(curtai).oper[0]^.ref^.symbol.offset<-63)) then (taicpu(curtai).InsOffset-taicpu(curtai).oper[0]^.ref^.symbol.offset<-63)) then
begin begin
if inasmblock then if inasmblock then
Message(asmw_e_short_jmp_out_of_range) Message(asmw_e_brxx_out_of_range)
else else
begin begin
current_asmdata.getjumplabel(l); current_asmdata.getjumplabel(l);

View File

@ -2830,7 +2830,7 @@ asmr_e_local_label_cannot_be_declared_public=07138_E_Local label $1 cannot be de
# #
# Assembler/binary writers # Assembler/binary writers
# #
# 08032 is the last used one # 08033 is the last used one
# #
asmw_f_too_many_asm_files=08000_F_Too many assembler files asmw_f_too_many_asm_files=08000_F_Too many assembler files
% With smartlinking enabled, there are too many assembler % With smartlinking enabled, there are too many assembler
@ -2884,6 +2884,7 @@ asmw_e_32bit_not_supported=08029_E_Asm: 32 Bit references not supported
asmw_f_code_segment_too_large=08030_F_Code segment too large asmw_f_code_segment_too_large=08030_F_Code segment too large
asmw_f_data_segment_too_large=08031_F_Data segment too large asmw_f_data_segment_too_large=08031_F_Data segment too large
asmw_e_instruction_not_supported_by_cpu=08032_E_Instruction not supported by the selected instruction set asmw_e_instruction_not_supported_by_cpu=08032_E_Instruction not supported by the selected instruction set
asmw_e_brxx_out_of_range=08033_E_Asm: conditional branch destination is out of range
# #
# Executing linker/assembler # Executing linker/assembler
# #

View File

@ -857,6 +857,7 @@ const
asmw_f_code_segment_too_large=08030; asmw_f_code_segment_too_large=08030;
asmw_f_data_segment_too_large=08031; asmw_f_data_segment_too_large=08031;
asmw_e_instruction_not_supported_by_cpu=08032; asmw_e_instruction_not_supported_by_cpu=08032;
asmw_e_brxx_out_of_range=08033;
exec_w_source_os_redefined=09000; exec_w_source_os_redefined=09000;
exec_i_assembling_pipe=09001; exec_i_assembling_pipe=09001;
exec_d_cant_create_asmfile=09002; exec_d_cant_create_asmfile=09002;
@ -1095,9 +1096,9 @@ const
option_info=11024; option_info=11024;
option_help_pages=11025; option_help_pages=11025;
MsgTxtSize = 81376; MsgTxtSize = 81436;
MsgIdxMax : array[1..20] of longint=( MsgIdxMax : array[1..20] of longint=(
27,106,347,126,96,59,139,33,221,67, 27,106,347,126,96,59,139,34,221,67,
61,20,30,1,1,1,1,1,1,1 61,20,30,1,1,1,1,1,1,1
); );

File diff suppressed because it is too large Load Diff