在 z390 便携式大型机汇编器和仿真器中设置断点?
我一直在使用旧的 Dos 版本的 Assist,并且想使用 z390 便携式大型机汇编器和仿真器。我能够编译和运行程序,但不清楚如何设置断点。例如,在 Assist 中,给定汇编列表的以下部分,
000006 5020C03A 00003C (1/21)21 ST R2,SqrtPCB
00000A 4510C012 000014 (1/22)22 BAL R1,Sqrt
00000E 5880C03E 000040 (1/23)23 L R8,SqrtPCB+4
000012 (1/24)24 * END OF YOUR PROGRAM
000012 07FE (1/25)25 BR 14
在 Assist 中,我可以执行 ab 后接 s,然后输入 E 作为地址。点击 g 开始运行程序,直到加载寄存器 8 的位置。使用 Z390 模拟器时,我可以使用提供交互式提示的测试选项运行。所有设置断点的命令似乎都需要满足一个条件,我希望程序在到达地址 E 处的指令时中断,无论条件如何。这可能吗?
I've been using the old Dos version of Assist and would like to use the z390 Portable Mainframe Assembler and Emulator instead. I'm able to compile and run programs but am not clear on how to set break points. For example in assist given the following section of an assembly listing
000006 5020C03A 00003C (1/21)21 ST R2,SqrtPCB
00000A 4510C012 000014 (1/22)22 BAL R1,Sqrt
00000E 5880C03E 000040 (1/23)23 L R8,SqrtPCB+4
000012 (1/24)24 * END OF YOUR PROGRAM
000012 07FE (1/25)25 BR 14
In Assist I can do a b followed by s then enter E for the address. Hitting g to go will then run the program up to the point of loading register 8. When using the Z390 emulator I can run with the test option which provides an interactive prompt. All the commands for setting breakpoints appear to require a condition to be met, I would like to have the program break when it reaches the instruction at address E regardless of the condition. Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要使用具有正确基址的地址命令。例如,假设您想在列表文件中的地址 E 的指令上中断,并且您的 using 语句是
您将输入“
当使用 Assist 时,基本引用会自动添加到您的断点”。使用 Z390 时,底座不会自动添加。
You need to use the address command with the proper base. For example assuming you want to break on the instruction with address E in your listing file and your using statement is
you would enter
When using Assist the base reference is automatically added to your breakpoint. When using Z390 the base is not automatically added in.