1 ;;; This file contains words dealing with word lists (vocabularies)
3 WORD p_wordlists,'WORDLIST',dovariable
4 ;; VARIABLE WORDLIST is the currently active wordlist.
7 WORD p_strncmp,'STRNCMP',fasm
8 ;; ( chars1 chars2 n -- flag )
9 ;; Compare bytes until one is NUL, return <0, =0 or >0 to
10 ;; indicate that chars1 is lesser, they are equal, or chars2
11 ;; is lesser in ascii ordering respectively.
16 ;; rax = chars1, rbx = chars2, cl = byte acc, rdx = length
31 ;; ( chars length -- [ chars 0 | cfa 1 )
32 ;; Search the current wordlists for the given pname
33 mov rcx,[p_wordlists_DFA]
47 pop rax ; return value
55 mov qword [rsp+8],rcx ; replace chars with tfa