回答編集履歴

2

引用をコードに変更

2019/10/23 03:24

投稿

rubato6809
rubato6809

スコア1380

test CHANGED
@@ -6,11 +6,13 @@
6
6
 
7
7
  なので
8
8
 
9
+ ```as
9
10
 
11
+ msg: .ascii "hello world\n"
10
12
 
11
- > msg: .ascii "hello world\n"
13
+ msgend: .equ len, msgend - msg
12
14
 
13
- > msgend: .equ len, msgend - msg
15
+ ```
14
16
 
15
17
 
16
18
 

1

リンク追加

2019/10/23 03:24

投稿

rubato6809
rubato6809

スコア1380

test CHANGED
@@ -1,10 +1,6 @@
1
- .equ symbol, expression
1
+ [.equ symbol, expression](https://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html#SEC86)
2
2
 
3
3
  This directive sets the value of symbol to expression. It is synonymous with `.set'; see section .set symbol, expression.
4
-
5
-
6
-
7
- The syntax for equ on the HPPA is `symbol .equ expression'.
8
4
 
9
5
 
10
6