m68k: use std_regnum_search instead of prefixing the regname with % and calling gas_regnum_search

git-svn-id: trunk@32656 -
This commit is contained in:
Károly Balogh 2015-12-13 18:04:30 +00:00
parent 9c12615f09
commit c47c6c0270

View File

@ -205,8 +205,7 @@ const
function tm68kmotreader.is_register(const s:string):boolean;
begin
result:=false;
// FIX ME!!! '%'+ is ugly, needs a proper fix (KB)
actasmregister:=gas_regnum_search('%'+lower(s));
actasmregister:=std_regnum_search(lower(s));
if actasmregister<>NR_NO then
begin
result:=true;