NJU-ProjectN / nemu

NJU EMUlator, a full system x86/mips32/riscv32/riscv64 emulator for teaching
Other
858 stars 184 forks source link

建议将PA GitBook中的部分图表修改 #82

Closed dream-tentacle closed 8 months ago

dream-tentacle commented 9 months ago

如题,在GitBook中,有一些使用字符表示的图标,例如PA2.4中“现在我们就可以厘清符号表和字符串表之间的关系了:”的后面。由于PA本身显示代码块的样式使得行间距很大,加之符号本身也并不是很清晰,导致看起来不够明确。建议调整行间距,或者改成相应的图片显示。 举例,在行间距较小的github中,行间距小,是这样的:

   LOAD       +-- 0x001000  0x03000000  0x03000000 +0x1d600  0x27240  RWE  0x1000
                               |                       |       |     
                               |   +-------------------+       |     
                               |   |                           |     
                               |   |     |           |         |       
                               |   |     |           |         |      
                               |   |     +-----------+ ---     |     
                               |   |     |00000000000|  ^      |   
                               |   | --- |00000000000|  |      |    
                               |   |  ^  |...........|  |      |  
                               |   |  |  |...........|  +------+
                               |   +--+  |...........|  |      
                               |      |  |...........|  |     
                               |      v  |...........|  v    
                               +-------> +-----------+ ---  
                                         |           |     
                                         |           |    
                                            Memory

但在GitBook网页中,行间距大,看起来却是: image

sashimi-yzh commented 9 months ago

感谢建议, 已调整行间距.