Skip to content

Commit 6053510

Browse files
committed
Remove note that labels can't be register names.
1 parent 14a022b commit 6053510

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

www/notes/a86.scrbl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -951,14 +951,12 @@ Each register plays the same role as in x86, so for example
951951
@defstruct*[Label ([x label?])]{
952952

953953
Creates a label from the given symbol. Each label in a
954-
program must be unique. Register names cannot be used
955-
as label names and names must follow the NASM restrictions
954+
program must be unique. Labels must follow the NASM restrictions
956955
on valid label names (see @racket[label?] for details).
957956

958957
@ex[
959958
(Label 'fred)
960959
(eval:error (Label "fred"))
961-
(eval:error (Label 'rax))
962960
(eval:error (Label 'fred-wilma))
963961
]
964962

0 commit comments

Comments
 (0)