Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以前のコードの一部をアセンブリのグローバル関数に移動するのに問題があります。受け入れるアルゴリズムがありlen、リストの長さはダブルワード自体のリストです。使用していた関数に移動する前にlstlenlst
len
lst
dword[lst+edi*4] ; offset
しかし今、それは書面lstに渡されますrdi
rdi
dword[rdi+edi*4]「エラー: 有効なアドレスが無効です」というエラーが表示される
dword[rdi+edi*4]
これを避けるために何ができますか?