File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -782,14 +782,16 @@ Each register plays the same role as in x86, so for example
782782 outermost level of a function that produces a86 code and not
783783 nested.
784784
785- @ex[
786- (prog (Label 'foo ))
787- (prog (list (Label 'foo )))
785+ @ex[
786+ (prog (Global 'foo ) (Label 'foo ))
787+ (eval:error (prog (Label 'foo )))
788+ (eval:error (prog (list (Label 'foo ))))
788789 (eval:error (prog (Mov 'rax 32 )))
789790 (eval:error (prog (Label 'foo )
790791 (Label 'foo )))
791792 (eval:error (prog (Jmp 'foo )))
792- (prog (Label 'foo )
793+ (prog (Global 'foo )
794+ (Label 'foo )
793795 (Jmp 'foo ))
794796 ]
795797}
@@ -807,7 +809,8 @@ Each register plays the same role as in x86, so for example
807809 @#reader scribble/comment-reader
808810 (ex
809811 (asm-display
810- (prog (%%% "Start of foo " )
812+ (prog (Global 'foo )
813+ (%%% "Start of foo " )
811814 (Label 'foo )
812815 ; Racket comments won't appear
813816 (%% "Inputs one argument in rdi " )
You can’t perform that action at this time.
0 commit comments